First commit

This commit is contained in:
nastys
2019-07-06 22:51:56 +02:00
commit 321ecdf8b7
162 changed files with 19606 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();
};
}