|
QJoysticks
A simple way to use joysticks with your Qt application
|
Represents a joystick and its properties. More...
#include <JoysticksCommon.h>
Public Attributes | |
| int | id |
| QString | name |
| int | numAxes |
| int | numPOVs |
| int | numButtons |
| bool | blacklisted |
Represents a joystick and its properties.
This structure contains:
| bool QJoystickDevice::blacklisted |
Holds true if the joystick is disabled
Referenced by SDL_Joysticks::getJoystick(), and QJoysticks::updateInterfaces().
| int QJoystickDevice::id |
Holds the ID of the joystick
Referenced by SDL_Joysticks::getJoystick(), QJoysticks::onAxisEvent(), QJoysticks::onButtonEvent(), QJoysticks::onPOVEvent(), SDL_Joysticks::rumble(), and VirtualJoystick::setJoystickID().
| QString QJoystickDevice::name |
Holds the name/title of the joystick
Referenced by QJoysticks::deviceNames(), SDL_Joysticks::getJoystick(), and QJoysticks::updateInterfaces().
| int QJoystickDevice::numAxes |
Holds the number of axes of the joystick
Referenced by SDL_Joysticks::getJoystick(), and QJoysticks::getNumAxes().
| int QJoystickDevice::numButtons |
Holds the number of buttons of the joystick
Referenced by SDL_Joysticks::getJoystick(), and QJoysticks::getNumButtons().
| int QJoystickDevice::numPOVs |
Holds the number of POVs of the joystick
Referenced by SDL_Joysticks::getJoystick(), and QJoysticks::getNumPOVs().
1.8.11