Go to the source code of this file.
Namespaces | |
| namespace | inp |
Classes | |
| class | inp::Joystick |
| Base Joystick class (system-neutral). More... | |
| class | inp::Joystick::Event |
| Joystick event class. More... | |
| struct | inp::Joystick::Calibration |
Defines | |
| #define | INP_JOYSTICK_HH 1 |
* * Purpose: * -------- * * This Joystick class abstract differences in joystick drivers on different * operating systems. An application can use the Joystick class for OS-neutrality. * * Axis values: * ------------ * * Axis values are returned in range -32767...+32767 as: * * -32767 * | * -32767 --o-- +3267 * | * -32767 * * .fast/.slow refer to joystick axis #3 (typically for throttle control). * * Calibration: * ------------ * * The Joystick class provides .mCalibration members and Calibrate() methods * for storing and changing joystick calibration values. These values are * intended entirely for the application (the Joystick class doesn't use them). * For example, if joy.mCalibration.mLeft.mLo equals 10121, and the joystick is * moved to center, say the event equals 2012, the Joystick class code will * still report the event even though the movement is at the joystick's deadzone. * The application is responsible for looking at joy.mCalibration.mLeft.mLo * and determining that no response is needed by that joystick event. * *
| #define INP_JOYSTICK_HH 1 |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:15 2007