|
LibDS
Qt-based library for controlling FRC robots
|
Represents a joystick and its respective properties. More...
#include <DS_Common.h>
Public Attributes | |
| int * | povs |
| qreal * | axes |
| bool * | buttons |
| int | numAxes = 0 |
| int | numPOVs = 0 |
| int | numButtons = 0 |
| int | realNumAxes = 0 |
| int | realNumPOVs = 0 |
| int | realNumButtons = 0 |
Represents a joystick and its respective properties.
| qreal* DS::Joystick::axes |
Holds the axis values array
Referenced by DriverStation::registerJoystick().
| bool* DS::Joystick::buttons |
Holds the button states array
Referenced by DriverStation::registerJoystick().
| int DS::Joystick::numAxes = 0 |
Holds the number of axes used by the DS
Referenced by FRC_2015::getJoystickSize(), and DriverStation::registerJoystick().
| int DS::Joystick::numButtons = 0 |
Holds the number of buttons used by the DS
Referenced by FRC_2015::getJoystickSize(), and DriverStation::registerJoystick().
| int DS::Joystick::numPOVs = 0 |
Holds the number of POVs used by the DS
Referenced by FRC_2015::getJoystickSize(), and DriverStation::registerJoystick().
| int* DS::Joystick::povs |
Holds the POV angles array
Referenced by DriverStation::registerJoystick().
| int DS::Joystick::realNumAxes = 0 |
Holds the number of axes of the joystick
Referenced by DriverStation::reconfigureJoysticks(), and DriverStation::registerJoystick().
| int DS::Joystick::realNumButtons = 0 |
Holds the number of buttons of the joystick
Referenced by DriverStation::reconfigureJoysticks(), and DriverStation::registerJoystick().
| int DS::Joystick::realNumPOVs = 0 |
Holds the number of POVs of the joystick
Referenced by DriverStation::reconfigureJoysticks(), and DriverStation::registerJoystick().
1.8.11