This commit is contained in:
Glenn Maynard
2005-05-25 22:32:12 +00:00
parent f9192adc07
commit cef33517ee
5 changed files with 32 additions and 29 deletions
@@ -7,6 +7,14 @@
struct DIDevice;
class InputHandler_DInput: public InputHandler
{
public:
InputHandler_DInput();
~InputHandler_DInput();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
void Update(float fDeltaTime);
void WindowReset();
private:
RageThread InputThread;
bool shutdown;
@@ -19,13 +27,6 @@ class InputHandler_DInput: public InputHandler
void StartThread();
void ShutdownThread();
public:
InputHandler_DInput();
~InputHandler_DInput();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
void Update(float fDeltaTime);
void WindowReset();
};
#define USE_INPUT_HANDLER_DIRECTINPUT