Files
itgmania212121/stepmania/src/arch/InputHandler/InputHandler_Win32_Pump.h
T
2003-07-14 06:26:09 +00:00

33 lines
830 B
C++

#ifndef INPUT_HANDLER_WIN32_PUMP_H
#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);
InputHandler_Win32_Pump();
~InputHandler_Win32_Pump();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
};
#endif
/*
-----------------------------------------------------------------------------
Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved.
Glenn Maynard
-----------------------------------------------------------------------------
*/