This commit is contained in:
nastys
2019-07-30 13:48:28 +02:00
parent 17b6c02aee
commit d1349cfebe
157 changed files with 0 additions and 0 deletions
@@ -0,0 +1,22 @@
#pragma once
#include "DirectInput.h"
namespace TLAC::Input
{
class DirectInputDevice
{
protected:
IDirectInputDevice8 *directInputdevice;
HRESULT DI_CreateDevice(const GUID& guid);
HRESULT DI_SetDataFormat(LPCDIDATAFORMAT dataFormat);
HRESULT DI_SetCooperativeLevel(HWND windowHandle, DWORD flags);
HRESULT DI_Acquire();
HRESULT DI_Unacquire();
HRESULT DI_Release();
HRESULT DI_Poll();
HRESULT DI_GetDeviceState(DWORD size, LPVOID data);
void DI_Dispose();
};
}