Starshatter_Open
Open source Starshatter engine
|
#include <MotionController.h>
Public Types | |
enum | StatusValue { StatusOK, StatusErr, StatusBadParm } |
enum | ActionValue { MaxActions = 32 } |
Public Member Functions | |
MotionController () | |
virtual | ~MotionController () |
StatusValue | Status () const |
int | Sensitivity () const |
int | DeadZone () const |
int | Swapped () const |
int | Inverted () const |
int | RudderEnabled () const |
int | ThrottleEnabled () const |
int | Selector () const |
virtual void | SetSensitivity (int sense, int dead) |
virtual void | SetSelector (int sel) |
virtual void | SetRudderEnabled (int rud) |
virtual void | SetThrottleEnabled (int t) |
virtual void | SwapYawRoll (int swap) |
virtual int | GetSwapYawRoll () |
virtual void | InvertPitch (int inv) |
virtual int | GetInverted () |
virtual void | MapKeys (KeyMapEntry *mapping, int nkeys) |
virtual void | Acquire () |
virtual double | X () |
virtual double | Y () |
virtual double | Z () |
virtual double | Pitch () |
virtual double | Roll () |
virtual double | Yaw () |
virtual int | Center () |
virtual double | Throttle () |
virtual void | SetThrottle (double t) |
virtual int | Action (int n) |
virtual int | ActionMap (int n) |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
StatusValue | status |
int | sensitivity |
int | dead_zone |
int | swapped |
int | inverted |
int | rudder |
int | throttle |
int | select |
Definition at line 155 of file MotionController.h.
Definition at line 167 of file MotionController.h.
Definition at line 166 of file MotionController.h.
|
inline |
Definition at line 160 of file MotionController.h.
|
inlinevirtual |
Definition at line 164 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 198 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 216 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 217 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 209 of file MotionController.h.
|
inline |
Definition at line 171 of file MotionController.h.
|
inlinevirtual |
Definition at line 193 of file MotionController.h.
|
inlinevirtual |
Definition at line 191 of file MotionController.h.
|
inline |
Definition at line 173 of file MotionController.h.
|
inlinevirtual |
Definition at line 192 of file MotionController.h.
|
inlinevirtual |
Reimplemented in Joystick, Keyboard, MouseController, and MultiController.
Definition at line 195 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 206 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 207 of file MotionController.h.
|
inline |
Definition at line 174 of file MotionController.h.
|
inline |
Definition at line 176 of file MotionController.h.
|
inline |
Definition at line 170 of file MotionController.h.
|
inlinevirtual |
Definition at line 187 of file MotionController.h.
|
inlinevirtual |
Definition at line 186 of file MotionController.h.
|
inlinevirtual |
Definition at line 180 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 213 of file MotionController.h.
|
inlinevirtual |
Definition at line 188 of file MotionController.h.
|
inline |
Definition at line 169 of file MotionController.h.
|
inline |
Definition at line 172 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController.
Definition at line 190 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 212 of file MotionController.h.
|
inline |
Definition at line 175 of file MotionController.h.
|
inlinestatic |
Reimplemented in Joystick, Keyboard, MouseController, and MultiController.
Definition at line 158 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 201 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 202 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 208 of file MotionController.h.
|
inlinevirtual |
Reimplemented in MultiController, Joystick, Keyboard, and MouseController.
Definition at line 203 of file MotionController.h.
|
protected |
Definition at line 222 of file MotionController.h.
|
protected |
Definition at line 224 of file MotionController.h.
|
protected |
Definition at line 225 of file MotionController.h.
|
protected |
Definition at line 227 of file MotionController.h.
|
protected |
Definition at line 221 of file MotionController.h.
|
protected |
Definition at line 220 of file MotionController.h.
|
protected |
Definition at line 223 of file MotionController.h.
|
protected |
Definition at line 226 of file MotionController.h.