Starshatter_Open
Open source Starshatter engine
|
#include <MouseController.h>
Public Member Functions | |
MouseController () | |
virtual | ~MouseController () |
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 throttle) |
virtual int | Action (int n) |
virtual int | ActionMap (int n) |
virtual bool | Active () |
virtual void | SetActive (bool a) |
Public Member Functions inherited from MotionController | |
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 () |
Static Public Member Functions | |
static const char * | TYPENAME () |
static MouseController * | GetInstance () |
Protected Attributes | |
double | p |
double | r |
double | w |
double | dx |
double | dy |
double | t |
int | action [MotionController::MaxActions] |
int | map [32] |
bool | active |
int | active_key |
Protected Attributes inherited from MotionController | |
StatusValue | status |
int | sensitivity |
int | dead_zone |
int | swapped |
int | inverted |
int | rudder |
int | throttle |
int | select |
Additional Inherited Members | |
Public Types inherited from MotionController | |
enum | StatusValue { StatusOK, StatusErr, StatusBadParm } |
enum | ActionValue { MaxActions = 32 } |
Definition at line 22 of file MouseController.h.
MouseController::MouseController | ( | ) |
Definition at line 31 of file MouseController.cpp.
|
virtual |
Definition at line 48 of file MouseController.cpp.
|
virtual |
Reimplemented from MotionController.
Definition at line 92 of file MouseController.cpp.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 52 of file MouseController.h.
|
virtual |
Reimplemented from MotionController.
Definition at line 240 of file MouseController.cpp.
|
inlinevirtual |
Definition at line 56 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 45 of file MouseController.h.
|
static |
Definition at line 54 of file MouseController.cpp.
|
virtual |
Reimplemented from MotionController.
Definition at line 62 of file MouseController.cpp.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 42 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 43 of file MouseController.h.
|
inlinevirtual |
Definition at line 57 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 49 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 48 of file MouseController.h.
|
inlinestatic |
Reimplemented from MotionController.
Definition at line 25 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 37 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 38 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 44 of file MouseController.h.
|
inlinevirtual |
Reimplemented from MotionController.
Definition at line 39 of file MouseController.h.
|
protected |
Definition at line 63 of file MouseController.h.
|
protected |
Definition at line 65 of file MouseController.h.
|
protected |
Definition at line 66 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.
|
protected |
Definition at line 64 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.
|
protected |
Definition at line 62 of file MouseController.h.