![]() |
Oolite 1.91.0.7658-250404-b1488af
|
Go to the source code of this file.
Classes | |
struct | JoyAxisEvent |
struct | JoyButtonEvent |
struct | JoyHatEvent |
class | OOJoystickManager |
Macros | |
#define | MAX_STICKS 4 |
#define | MAX_AXES 16 |
#define | MAX_REAL_BUTTONS 64 |
#define | MAX_HATS 4 |
#define | MAX_BUTTONS (MAX_REAL_BUTTONS + 4 * MAX_HATS) |
#define | STICK_NOFUNCTION -1 |
#define | STICK_AXISUNASSIGNED -10.0 |
#define | STICK_PRECISIONFAC 3 |
#define | STICK_NORMALDIV 32768 |
#define | STICK_PRECISIONDIV (STICK_PRECISIONFAC*STICK_NORMALDIV) |
#define | STICK_DEADZONE 0.0025 |
#define | STICK_MAX_DEADZONE (STICK_DEADZONE * 2) |
#define | HW_AXIS 1 |
#define | HW_BUTTON 2 |
#define | AXCBTHRESH 20000 |
#define | AXIS_SETTINGS @"JoystickAxes" |
#define | BUTTON_SETTINGS @"JoystickButs" |
#define | STICK_ISAXIS @"isAxis" |
#define | STICK_NUMBER @"stickNum" |
#define | STICK_AXBUT @"stickAxBt" |
#define | STICK_FUNCTION @"stickFunc" |
#define | STICK_ROLL_AXIS_PROFILE_SETTING @"RollAxisProfile" |
#define | STICK_PITCH_AXIS_PROFILE_SETTING @"PitchAxisProfile" |
#define | STICK_YAW_AXIS_PROFILE_SETTING @"YawAxisProfile" |
#define | ENUMKEY(x) |
#define AXCBTHRESH 20000 |
Definition at line 145 of file OOJoystickManager.h.
Referenced by OOJoystickManager::decodeAxisEvent:.
#define AXIS_SETTINGS @"JoystickAxes" |
Definition at line 148 of file OOJoystickManager.h.
#define BUTTON_SETTINGS @"JoystickButs" |
Definition at line 149 of file OOJoystickManager.h.
#define ENUMKEY | ( | x | ) |
Definition at line 159 of file OOJoystickManager.h.
#define HW_AXIS 1 |
Definition at line 140 of file OOJoystickManager.h.
Referenced by OOJoystickManager::decodeAxisEvent:, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(StickMapperInternal)::hwToString:, and PlayerEntity(StickMapper)::stickMapperInputHandler:view:.
#define HW_BUTTON 2 |
#define MAX_AXES 16 |
Definition at line 118 of file OOJoystickManager.h.
Referenced by OOJoystickManager::axisFunctions, OOJoystickManager::decodeAxisEvent:, OOJoystickManager(Private)::setFunctionForAxis:function:stick:, and OOJoystickManager::unsetAxisFunction:.
#define MAX_BUTTONS (MAX_REAL_BUTTONS + 4 * MAX_HATS) |
#define MAX_HATS 4 |
Definition at line 120 of file OOJoystickManager.h.
#define MAX_REAL_BUTTONS 64 |
Definition at line 119 of file OOJoystickManager.h.
Referenced by OOJoystickManager::decodeHatEvent:, and PlayerEntity(StickMapperInternal)::describeStickDict:.
#define MAX_STICKS 4 |
Definition at line 117 of file OOJoystickManager.h.
Referenced by OOJoystickManager::axisFunctions, OOJoystickManager::buttonFunctions, OOJoystickManager::clearStickStates, OOSDLJoystickManager::init, OOJoystickManager(Private)::setFunctionForAxis:function:stick:, OOJoystickManager(Private)::setFunctionForButton:function:stick:, OOJoystickManager::unsetAxisFunction:, and OOJoystickManager::unsetButtonFunction:.
#define STICK_AXBUT @"stickAxBt" |
Definition at line 152 of file OOJoystickManager.h.
Referenced by PlayerEntity(StickMapperInternal)::checkCustomEquipButtons:ignore:, and PlayerEntity(OOControlsPrivate)::pollFlightControls:.
#define STICK_AXISUNASSIGNED -10.0 |
Definition at line 123 of file OOJoystickManager.h.
Referenced by OOJoystickManager::clearStickStates, OOJoystickManager::getAxisState:, PlayerEntity(OOControlsPrivate)::pollFlightArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollFlightControls:, PlayerEntity(OOControlsPrivate)::pollViewControls, and OOJoystickManager::unsetAxisFunction:.
#define STICK_DEADZONE 0.0025 |
Definition at line 130 of file OOJoystickManager.h.
Referenced by OOJoystickAxisProfile::init.
#define STICK_FUNCTION @"stickFunc" |
Definition at line 153 of file OOJoystickManager.h.
#define STICK_ISAXIS @"isAxis" |
Definition at line 150 of file OOJoystickManager.h.
Referenced by PlayerEntity(StickMapperInternal)::describeStickDict:, and PlayerEntity(StickMapper)::updateFunction:.
#define STICK_MAX_DEADZONE (STICK_DEADZONE * 2) |
Definition at line 135 of file OOJoystickManager.h.
Referenced by OOJoystickAxisProfile::setDeadzone:, and StickProfileScreen(StickProfileInternal)::showScreen.
#define STICK_NOFUNCTION -1 |
#define STICK_NORMALDIV 32768 |
Definition at line 126 of file OOJoystickManager.h.
Referenced by OOJoystickManager::decodeAxisEvent:, and OOJoystickManager(Private)::setFunctionForAxis:function:stick:.
#define STICK_NUMBER @"stickNum" |
Definition at line 151 of file OOJoystickManager.h.
Referenced by PlayerEntity(StickMapperInternal)::checkCustomEquipButtons:ignore:, and PlayerEntity(OOControlsPrivate)::pollFlightControls:.
#define STICK_PITCH_AXIS_PROFILE_SETTING @"PitchAxisProfile" |
Definition at line 155 of file OOJoystickManager.h.
#define STICK_PRECISIONDIV (STICK_PRECISIONFAC*STICK_NORMALDIV) |
Definition at line 127 of file OOJoystickManager.h.
#define STICK_PRECISIONFAC 3 |
Definition at line 125 of file OOJoystickManager.h.
Referenced by OOJoystickManager::getAxisState:, and OOJoystickManager::getSensitivity.
#define STICK_ROLL_AXIS_PROFILE_SETTING @"RollAxisProfile" |
Definition at line 154 of file OOJoystickManager.h.
#define STICK_YAW_AXIS_PROFILE_SETTING @"YawAxisProfile" |
Definition at line 156 of file OOJoystickManager.h.
anonymous enum |
Definition at line 195 of file OOJoystickManager.h.
anonymous enum |
Enumerator | |
---|---|
AXIS_ROLL | |
AXIS_PITCH | |
AXIS_YAW | |
AXIS_PRECISION | |
AXIS_THRUST | |
AXIS_VIEWX | |
AXIS_VIEWY | |
AXIS_end |
Definition at line 45 of file OOJoystickManager.h.
anonymous enum |
Definition at line 60 of file OOJoystickManager.h.