#include <JoystickData.h>
Public Member Functions | |
JoystickData () | |
Constructor. | |
Public Attributes | |
double | x |
The value of the three joystick axes in [-1,1]. | |
double | y |
The value of the three joystick axes in [-1,1]. | |
double | z |
The value of the three joystick axes in [-1,1]. | |
double | accel |
The value of the accelerator in [0,1]. | |
int | button |
Bit array of the pressed buttons. | |
int | coolie |
The value of the coolie: 0 or 1..8. | |
bool | directSpecialAction |
Boolean if a special-action is given to be executed. | |
SpecialActionRequest::SpecialActionID | specialActionID |
The id of the special-action to be executed directly. | |
unsigned long | timeStamp |
The timestamp when the last data was received. |
Definition at line 21 of file JoystickData.h.
|
Constructor.
Definition at line 12 of file JoystickData.cpp. References SystemCall::getCurrentSystemTime(). |
Here is the call graph for this function:
|
The value of the three joystick axes in [-1,1].
Definition at line 28 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
The value of the three joystick axes in [-1,1].
Definition at line 28 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
The value of the three joystick axes in [-1,1].
Definition at line 28 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
The value of the accelerator in [0,1].
Definition at line 31 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
Bit array of the pressed buttons.
Definition at line 34 of file JoystickData.h. Referenced by JoystickSymbols::getJoystickButton(), operator<<(), and operator>>(). |
|
The value of the coolie: 0 or 1..8.
Definition at line 37 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
Boolean if a special-action is given to be executed.
Definition at line 40 of file JoystickData.h. Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols(). |
|
The id of the special-action to be executed directly.
Definition at line 43 of file JoystickData.h. Referenced by JoystickSymbols::getSpecialActionId(), operator<<(), and operator>>(). |
|
The timestamp when the last data was received. Note that this value is set in the In streaming operator. Definition at line 49 of file JoystickData.h. Referenced by JoystickSymbols::getJoystickTimeSinceLastMessage(), and operator>>(). |