73 return SDL_JoystickNumAxes(
_sdlJoy);
80 return SDL_JoystickNumBalls(
_sdlJoy);
87 return SDL_JoystickNumHats(
_sdlJoy);
94 return SDL_JoystickNumButtons(
_sdlJoy);
int getHatCount() const
Return the number of hats the joystick has.
int getButtonCount() const
Return the number of buttons the joystick has.
A class holding an UTF-8 string.
Joystick/Gamepad handling.
bool enable()
Enable the joystick.
int getAxisCount() const
Return the number of axes the joystick has.
bool isEnabled() const
Is the joystick currently enabled?
int getIndex() const
Return the joystick's index within the available joysticks.
void disable()
Disable the joystick.
const Common::UString & getName() const
Return the joystick's name.
int getBallCount() const
Return the number of balls the joystick has.