|
Oolite 1.91.0.7712-251017-85ce217
|
#include <OOSDLJoystickManager.h>
Private Attributes | |
| SDL_Joystick * | stick [MAX_STICKS] |
| NSUInteger | stickCount |
Additional Inherited Members | |
| Class Methods inherited from OOJoystickManager | |
| (id) | + sharedStickHandler |
| (BOOL) | + setStickHandlerClass: |
Definition at line 45 of file OOSDLJoystickManager.h.
| - (int16_t) getAxisWithStick: | (NSUInteger) | stickNum | |
| axis: | (NSUInteger) | axisNum |
Reimplemented from OOJoystickManager.
Definition at line 106 of file OOSDLJoystickManager.m.
References stick.
| - (BOOL) handleSDLEvent: | (SDL_Event *) | evt |
Definition at line 67 of file OOSDLJoystickManager.m.
References OOJoystickManager::decodeAxisEvent:, OOJoystickManager::decodeButtonEvent:, OOJoystickManager::decodeHatEvent:, and OOLog.
Referenced by MyOpenGLView::pollControls.
| - (id) init |
Reimplemented from OOJoystickManager.
Definition at line 34 of file OOSDLJoystickManager.m.
References OOJoystickManager::init, init, MAX_STICKS, OOLog, stick, and stickCount.
Referenced by init.
|
implementation |
Reimplemented from OOJoystickManager.
Definition at line 94 of file OOSDLJoystickManager.m.
References joystickCount, and stickCount.
Referenced by joystickCount.
| - (NSString *) nameOfJoystick: | (NSUInteger) | stickNumber |
Reimplemented from OOJoystickManager.
Definition at line 100 of file OOSDLJoystickManager.m.
|
private |
Definition at line 48 of file OOSDLJoystickManager.h.
Referenced by getAxisWithStick:axis:, and init.
|
private |
Definition at line 49 of file OOSDLJoystickManager.h.
Referenced by init, and joystickCount.