#include <JoystickSymbols.h>
Inheritance diagram for JoystickSymbols:


Public Member Functions | |
| JoystickSymbols (const BehaviorControlInterfaces &interfaces) | |
| void | registerSymbols (Xabsl2Engine &engine) |
| registers the symbols at an engine | |
| void | update () |
| updates the symbols | |
Input symbols | |
| int | getJoystickButton () |
| double | getJoystickTimeSinceLastMessage () |
| double | getSpecialActionId () |
Definition at line 20 of file JoystickSymbols.h.
|
|
Definition at line 11 of file JoystickSymbols.cpp. |
|
|
registers the symbols at an engine
Definition at line 17 of file JoystickSymbols.cpp. References JoystickData::accel, JoystickData::coolie, JoystickData::directSpecialAction, getJoystickButton(), getJoystickTimeSinceLastMessage(), getSpecialActionId(), Xabsl2Symbols::registerBooleanInputSymbol(), Xabsl2Symbols::registerDecimalInputSymbol(), Xabsl2Symbols::registerEnumeratedInputSymbol(), Xabsl2Symbols::registerEnumeratedInputSymbolEnumElement(), JoystickData::x, JoystickData::y, and JoystickData::z. Referenced by GT2004BehaviorControl::registerSymbolsAndBasicBehaviors(). |
Here is the call graph for this function:

|
|
updates the symbols
Definition at line 65 of file JoystickSymbols.cpp. |
|
|
A function for the symbol "joystick-data.button" Definition at line 75 of file JoystickSymbols.cpp. References JoystickData::button. Referenced by registerSymbols(). |
|
|
A function for the symbol "joystick-data.time-since-last-message" Definition at line 70 of file JoystickSymbols.cpp. References SystemCall::getTimeSince(), and JoystickData::timeStamp. Referenced by registerSymbols(). |
Here is the call graph for this function:

|
|
A function for the symbol "joystick-data.special-action-id" Definition at line 88 of file JoystickSymbols.cpp. References JoystickData::specialActionID. Referenced by registerSymbols(). |
1.3.6