Higher-level Joystick class. More...
#include "base/module.hh"#include "base/busy.hh"#include "base/conf.hh"#include "base/stream.hh"#include "math/module.hh"#include "math/funcs.hh"#include "math/funcs_debug.hh"#include "input/module.hh"#include "input/device_joystick.hh"#include "input/conf.hh"#include "control/module.hh"#include "control/joystick.hh"#include "control/defs.hh"#include "control/conf.hh"Namespaces | |
| namespace | control |
control module (layer over lower-level input module, contains current Craft). | |
Defines | |
| #define | CONTROL_JOYSTICK_CC 1 |
| #define | IF_IN_AXIS_RANGE(AXIS_RANGE) |
Functions | |
| control::DEFINE_SINGLETON_CLASS_VARS (Joystick) Joystick | |
Higher-level Joystick class.
| #define CONTROL_JOYSTICK_CC 1 |
| #define IF_IN_AXIS_RANGE | ( | AXIS_RANGE | ) |
((event.mAxisVal < 0) \
and (event.mAxisVal >= AXIS_RANGE.mMax) and (event.mAxisVal <= AXIS_RANGE.mMin)) \
or ((event.mAxisVal >= 0) \
and (event.mAxisVal >= AXIS_RANGE.mMin) and (event.mAxisVal <= AXIS_RANGE.mMax))
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10