QJoysticks
A simple way to use joysticks with your Qt application
Public Attributes | List of all members
QJoystickDevice Struct Reference

Represents a joystick and its properties. More...

#include <JoysticksCommon.h>

Public Attributes

int id
 
QString name
 
int numAxes
 
int numPOVs
 
int numButtons
 
bool blacklisted
 

Detailed Description

Represents a joystick and its properties.

This structure contains:

Member Data Documentation

bool QJoystickDevice::blacklisted

Holds true if the joystick is disabled

Referenced by SDL_Joysticks::getJoystick(), and QJoysticks::updateInterfaces().

int QJoystickDevice::id
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().


The documentation for this struct was generated from the following file: