|
QJoysticks
A simple way to use joysticks with your Qt application
|
Represents an axis event that can be triggered by a joystick. More...
#include <JoysticksCommon.h>
Public Attributes | |
| int | axis |
| qreal | value |
| QJoystickDevice * | joystick |
Represents an axis event that can be triggered by a joystick.
This structure contains:
| int QJoystickAxisEvent::axis |
The numerical ID of the axis
Referenced by SDL_Joysticks::getAxisEvent(), QJoysticks::onAxisEvent(), and VirtualJoystick::readAxes().
| QJoystickDevice* QJoystickAxisEvent::joystick |
Pointer to the device that caused the event
Referenced by QJoysticks::onAxisEvent().
| qreal QJoystickAxisEvent::value |
The value (from -1 to 1) of the axis
Referenced by QJoysticks::onAxisEvent().
1.8.11