This repository has been archived on 2024-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
segatools/games/apm3io/di-dev.h

19 lines
340 B
C

#pragma once
#include <windows.h>
#include <dinput.h>
#include <stdint.h>
union apm3_di_state {
DIJOYSTATE st;
uint8_t bytes[sizeof(DIJOYSTATE)];
};
HRESULT apm3_di_dev_start(IDirectInputDevice8W *dev, HWND wnd);
HRESULT apm3_di_dev_poll(
IDirectInputDevice8W *dev,
HWND wnd,
union apm3_di_state *out);