Oolite 1.91.0.7644-241112-7f5034b
|
#include <OOJoystickManager.h>
Class Methods | |
(id) | + sharedStickHandler |
(BOOL) | + setStickHandlerClass: |
Private Attributes | |
int8_t | axismap [MAX_STICKS][MAX_AXES] |
int8_t | buttonmap [MAX_STICKS][MAX_BUTTONS] |
BOOL | true_butstate [MAX_STICKS][MAX_BUTTONS] |
double | axstate [AXIS_end] |
BOOL | butstate [BUTTON_end] |
uint8_t | hatstate [MAX_STICKS][MAX_HATS] |
BOOL | precisionMode |
OOJoystickAxisProfile * | roll_profile |
OOJoystickAxisProfile * | pitch_profile |
OOJoystickAxisProfile * | yaw_profile |
id | cbObject |
SEL | cbSelector |
char | cbHardware |
BOOL | invertPitch |
Definition at line 247 of file OOJoystickManager.h.
- (NSDictionary *) axisFunctions |
Definition at line 33 of file OOJoystickManager.m.
- (NSDictionary *) buttonFunctions |
Definition at line 33 of file OOJoystickManager.m.
- (void) clearCallback |
Definition at line 33 of file OOJoystickManager.m.
- (void) clearMappings |
Definition at line 33 of file OOJoystickManager.m.
- (void) clearStickButtonState: | (int) | stickButton |
Definition at line 33 of file OOJoystickManager.m.
- (void) clearStickStates |
Definition at line 33 of file OOJoystickManager.m.
- (void) decodeAxisEvent: | (JoyAxisEvent *) | evt |
Definition at line 33 of file OOJoystickManager.m.
- (void) decodeButtonEvent: | (JoyButtonEvent *) | evt |
Definition at line 33 of file OOJoystickManager.m.
- (void) decodeHatEvent: | (JoyHatEvent *) | evt |
Definition at line 33 of file OOJoystickManager.m.
- (const BOOL *) getAllButtonStates |
Definition at line 33 of file OOJoystickManager.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleAutopilotOn:.
- (double) getAxisState: | (int) | function |
Definition at line 33 of file OOJoystickManager.m.
- (int16_t) getAxisWithStick: | (NSUInteger) | stickNum | |
axis: | (NSUInteger) | axisNum |
Reimplemented in OOMacJoystickManager, and OOSDLJoystickManager.
Definition at line 33 of file OOJoystickManager.m.
- (BOOL) getButtonState: | (int) | function |
Definition at line 33 of file OOJoystickManager.m.
- (OOJoystickAxisProfile *) getProfileForAxis: | (int) | axis |
Definition at line 33 of file OOJoystickManager.m.
- (double) getSensitivity |
Definition at line 33 of file OOJoystickManager.m.
- (id) init |
Reimplemented in OOMacJoystickManager, and OOSDLJoystickManager.
Definition at line 33 of file OOJoystickManager.m.
Definition at line 33 of file OOJoystickManager.m.
- (NSUInteger) joystickCount |
Reimplemented in OOMacJoystickManager, and OOSDLJoystickManager.
Definition at line 33 of file OOJoystickManager.m.
- (NSArray *) listSticks |
Definition at line 33 of file OOJoystickManager.m.
- (void) loadProfileForAxis: | (int) | axis |
Definition at line 33 of file OOJoystickManager.m.
- (void) loadStickSettings |
Definition at line 33 of file OOJoystickManager.m.
- (NSString *) nameOfJoystick: | (NSUInteger) | stickNumber |
Reimplemented in OOMacJoystickManager, and OOSDLJoystickManager.
Definition at line 33 of file OOJoystickManager.m.
- (NSPoint) rollPitchAxis |
Definition at line 33 of file OOJoystickManager.m.
- (void) saveProfileForAxis: | (int) | axis |
Definition at line 33 of file OOJoystickManager.m.
- (void) saveStickSettings |
Definition at line 33 of file OOJoystickManager.m.
- (void) setCallback: | (SEL) | selector | |
object: | (id) | obj | |
hardware: | (char) | hwflags |
Definition at line 33 of file OOJoystickManager.m.
- (void) setDefaultMapping |
Definition at line 33 of file OOJoystickManager.m.
- (void) setFunction: | (int) | function | |
withDict: | (NSDictionary *) | stickFn |
Definition at line 33 of file OOJoystickManager.m.
|
implementation |
Provided by category OOJoystickManager(Private).
Definition at line 33 of file OOJoystickManager.m.
|
implementation |
Provided by category OOJoystickManager(Private).
Definition at line 33 of file OOJoystickManager.m.
- (void) setProfile: | (OOJoystickAxisProfile *) | profile | |
forAxis: | (int) | axis |
Definition at line 33 of file OOJoystickManager.m.
+ (BOOL) setStickHandlerClass: | (Class) | aClass |
Definition at line 33 of file OOJoystickManager.m.
+ (id) sharedStickHandler |
Definition at line 33 of file OOJoystickManager.m.
Referenced by PlayerEntity(OOControlsPrivate)::handleAutopilotOn:.
- (void) unsetAxisFunction: | (int) | function |
Definition at line 33 of file OOJoystickManager.m.
- (void) unsetButtonFunction: | (int) | function |
Definition at line 33 of file OOJoystickManager.m.
- (NSPoint) viewAxis |
Definition at line 33 of file OOJoystickManager.m.
|
private |
Definition at line 251 of file OOJoystickManager.h.
|
private |
Definition at line 254 of file OOJoystickManager.h.
|
private |
Definition at line 255 of file OOJoystickManager.h.
|
private |
Definition at line 252 of file OOJoystickManager.h.
|
private |
Definition at line 266 of file OOJoystickManager.h.
|
private |
Definition at line 264 of file OOJoystickManager.h.
|
private |
Definition at line 265 of file OOJoystickManager.h.
|
private |
Definition at line 256 of file OOJoystickManager.h.
|
private |
Definition at line 267 of file OOJoystickManager.h.
|
private |
Definition at line 259 of file OOJoystickManager.h.
|
private |
Definition at line 257 of file OOJoystickManager.h.
|
private |
Definition at line 258 of file OOJoystickManager.h.
|
private |
Definition at line 253 of file OOJoystickManager.h.
|
private |
Definition at line 260 of file OOJoystickManager.h.