Files
itgmania212121/stepmania/src/arch/InputHandler/InputHandler_Linux_Joystick.h
T

27 lines
698 B
C++
Raw Normal View History

2003-06-22 22:54:22 +00:00
#ifndef INPUT_HANDLER_LINUX_JOYSTICK_H
#define INPUT_HANDLER_LINUX_JOYSTICK_H 1
#include "InputHandler.h"
class InputHandler_Linux_Joystick: public InputHandler
{
public:
2004-04-05 22:16:26 +00:00
enum { NUM_JOYSTICKS = 4 };
2003-06-22 22:54:22 +00:00
void Update(float fDeltaTime);
InputHandler_Linux_Joystick();
~InputHandler_Linux_Joystick();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
private:
int fds[NUM_JOYSTICKS];
};
#endif
/*
-----------------------------------------------------------------------------
Copyright (c) 2003 by the person(s) listed below. All rights reserved.
Glenn Maynard
-----------------------------------------------------------------------------
*/