forked from TeamTofuShop/segatools
swdc: first segatools added
This commit is contained in:
19
swdcio/di-dev.h
Normal file
19
swdcio/di-dev.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <dinput.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
union swdc_di_state {
|
||||
DIJOYSTATE st;
|
||||
uint8_t bytes[sizeof(DIJOYSTATE)];
|
||||
};
|
||||
|
||||
HRESULT swdc_di_dev_start(IDirectInputDevice8W *dev, HWND wnd);
|
||||
void swdc_di_dev_start_fx(IDirectInputDevice8W *dev, IDirectInputEffect **out);
|
||||
HRESULT swdc_di_dev_poll(
|
||||
IDirectInputDevice8W *dev,
|
||||
HWND wnd,
|
||||
union swdc_di_state *out);
|
||||
|
Reference in New Issue
Block a user