threaded Pump input

This commit is contained in:
Glenn Maynard
2003-07-14 06:26:09 +00:00
parent 4c707df399
commit e7ec4c7e0f
2 changed files with 80 additions and 13 deletions
@@ -2,11 +2,19 @@
#define INPUT_HANDLER_WIN32_PUMP_H 1
#include "InputHandler.h"
#include "SDL_Thread.h"
class USBDevice;
class InputHandler_Win32_Pump: public InputHandler
{
USBDevice *dev;
SDL_Thread *InputThreadPtr;
bool shutdown;
static int InputThread_Start( void *p );
void InputThread();
void HandleInput( int devno, int event );
public:
void Update(float fDeltaTime);