#include <JoystickData.h>
Public Member Functions | |
JoystickData () | |
Public Attributes | |
double | x |
double | y |
double | z |
double | accel |
int | button |
int | coolie |
bool | directSpecialAction |
SpecialActionRequest::SpecialActionID | specialActionID |
unsigned long | timeStamp |
Definition at line 21 of file JoystickData.h.
JoystickData::JoystickData | ( | ) |
Constructor
Definition at line 12 of file JoystickData.cpp.
References SystemCall::getCurrentSystemTime(), and timeStamp.
double JoystickData::accel |
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>>().
unsigned long JoystickData::timeStamp |
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(), JoystickData(), and operator>>().
double JoystickData::x |
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().
double JoystickData::y |
Definition at line 28 of file JoystickData.h.
Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().
double JoystickData::z |
Definition at line 28 of file JoystickData.h.
Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().