#include <Joystick.h>
◆ CJoystick()
◆ GetAxisValue()
float CJoystick::GetAxisValue |
( |
int |
axis | ) |
|
Returns current value of the given joystick axis, in the range [-1, +1].
◆ Initialise()
void CJoystick::Initialise |
( |
| ) |
|
Initialises joystick support.
◆ IsEnabled()
bool CJoystick::IsEnabled |
( |
| ) |
|
Returns true if initialised and the joystick is present and enabled by configuration.
◆ m_Deadzone
int CJoystick::m_Deadzone |
|
private |
◆ m_Joystick
SDL_Joystick* CJoystick::m_Joystick |
|
private |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/ps/Joystick.h
- /home/docker/jenkins/workspace/technical-docs/source/ps/Joystick.cpp