Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

InputHandler_Win32_Para.h

Go to the documentation of this file.
00001 #ifndef INPUT_HANDLER_WIN32_PARA_H 00002 #define INPUT_HANDLER_WIN32_PARA_H 1 00003 00004 #include "InputHandler.h" 00005 #include "RageThreads.h" 00006 00007 class USBDevice; 00008 class InputHandler_Win32_Para: public InputHandler 00009 { 00010 USBDevice *dev; 00011 RageThread InputThread; 00012 bool shutdown; 00013 00014 static int InputThread_Start( void *p ); 00015 void InputThreadMain(); 00016 void HandleInput( int devno, int event ); 00017 00018 00019 public: 00020 void Update(float fDeltaTime); 00021 InputHandler_Win32_Para(); 00022 ~InputHandler_Win32_Para(); 00023 void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut); 00024 }; 00025 00026 #endif 00027 00028 /* 00029 * (c) 2002-2004 Glenn Maynard 00030 * All rights reserved. 00031 * 00032 * Permission is hereby granted, free of charge, to any person obtaining a 00033 * copy of this software and associated documentation files (the 00034 * "Software"), to deal in the Software without restriction, including 00035 * without limitation the rights to use, copy, modify, merge, publish, 00036 * distribute, and/or sell copies of the Software, and to permit persons to 00037 * whom the Software is furnished to do so, provided that the above 00038 * copyright notice(s) and this permission notice appear in all copies of 00039 * the Software and that both the above copyright notice(s) and this 00040 * permission notice appear in supporting documentation. 00041 * 00042 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00043 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00044 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00045 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00046 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00047 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00048 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00049 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00050 * PERFORMANCE OF THIS SOFTWARE. 00051 */

Generated on Thu Jan 27 20:57:22 2005 for StepMania by doxygen 1.3.7