QJoysticks
A simple way to use joysticks with your Qt application
|
Represents a button event that can be triggered by a joystick. More...
#include <JoysticksCommon.h>
Public Attributes | |
int | button |
bool | pressed |
QJoystickDevice * | joystick |
Represents a button event that can be triggered by a joystick.
This structure contains:
int QJoystickButtonEvent::button |
The numerical ID of the button
Referenced by SDL_Joysticks::getButtonEvent(), QJoysticks::onButtonEvent(), and VirtualJoystick::readButtons().
QJoystickDevice* QJoystickButtonEvent::joystick |
Pointer to the device that caused the event
Referenced by QJoysticks::onButtonEvent().
bool QJoystickButtonEvent::pressed |
Set to true
if the button is pressed
Referenced by QJoysticks::onButtonEvent().