2003-06-17 05:01:49 +00:00
|
|
|
#ifndef INPUTHANDLER_DIRECTINPUT_H
|
|
|
|
|
#define INPUTHANDLER_DIRECTINPUT_H
|
|
|
|
|
|
|
|
|
|
#include "InputHandler.h"
|
|
|
|
|
|
|
|
|
|
struct DIDevice;
|
|
|
|
|
class InputHandler_DInput: public InputHandler
|
|
|
|
|
{
|
|
|
|
|
bool OpenDevice(DIDevice &joystick);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
InputHandler_DInput();
|
|
|
|
|
~InputHandler_DInput();
|
|
|
|
|
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
|
|
|
|
|
void Update(float fDeltaTime);
|
2003-06-18 05:43:12 +00:00
|
|
|
void WindowReset();
|
2003-06-17 05:01:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|