18 #ifndef INCLUDED_JOYSTICK 19 #define INCLUDED_JOYSTICK 50 #endif // INCLUDED_JOYSTICK
void Initialise()
Initialises joystick support.
Definition: Joystick.cpp:33
float GetAxisValue(int axis)
Returns current value of the given joystick axis, in the range [-1, +1].
Definition: Joystick.cpp:81
CJoystick g_Joystick
Definition: Joystick.cpp:26
SDL_Joystick * m_Joystick
Definition: Joystick.h:44
bool IsEnabled()
Returns true if initialised and the joystick is present and enabled by configuration.
Definition: Joystick.cpp:76
CJoystick()
Definition: Joystick.cpp:28
Definition: Joystick.h:23
int m_Deadzone
Definition: Joystick.h:45