Clean up
This commit is contained in:
@@ -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();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user