mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-24 13:30:09 +01:00
20 lines
420 B
C
20 lines
420 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <dinput.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
union idac_di_state {
|
|
DIJOYSTATE st;
|
|
uint8_t bytes[sizeof(DIJOYSTATE)];
|
|
};
|
|
|
|
HRESULT idac_di_dev_start(IDirectInputDevice8W *dev, HWND wnd);
|
|
void idac_di_dev_start_fx(IDirectInputDevice8W *dev, IDirectInputEffect **out);
|
|
HRESULT idac_di_dev_poll(
|
|
IDirectInputDevice8W *dev,
|
|
HWND wnd,
|
|
union idac_di_state *out);
|
|
|