![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOMacJoystickManager.h>
Class Methods | |
(static int) | + AxisIndex [implementation] |
(static uint8_t) | + MapHatValue [implementation] |
![]() | |
(id) | + sharedStickHandler |
(BOOL) | + setStickHandlerClass: |
Private Attributes | |
IOHIDManagerRef | hidManager |
CFMutableArrayRef | devices |
int | gammaTable [kJoystickGammaTableSize] |
Definition at line 40 of file OOMacJoystickManager.h.
|
implementation |
Definition at line 181 of file OOMacJoystickManager.m.
Referenced by handleInputEvent:.
|
implementation |
Definition at line 89 of file OOMacJoystickManager.m.
References dealloc, devices, and hidManager.
Referenced by dealloc.
|
implementation |
Reimplemented from OOJoystickManager.
Definition at line 340 of file OOMacJoystickManager.m.
|
implementation |
Definition at line 104 of file OOMacJoystickManager.m.
References handleJoystickAttach:, OOLog, and OOLogWillDisplayMessagesInClass().
Referenced by HandleDeviceMatchingCallback().
|
implementation |
Definition at line 172 of file OOMacJoystickManager.m.
References devices, and OOLog.
Referenced by HandleDeviceRemovalCallback().
|
implementation |
Definition at line 253 of file OOMacJoystickManager.m.
References JoyAxisEvent::axis, AxisIndex, JoyButtonEvent::button, OOJoystickManager::decodeAxisEvent:, OOJoystickManager::decodeButtonEvent:, OOJoystickManager::decodeHatEvent:, EXPECT_NOT, gammaTable, JOYAXISMOTION, JOYBUTTONDOWN, JOYBUTTONUP, JOYHAT_MOTION, kJoystickGammaTableSize, MapHatValue, OOLogERR, JoyButtonEvent::state, JoyAxisEvent::type, JoyButtonEvent::type, JoyAxisEvent::value, JoyAxisEvent::which, and JoyButtonEvent::which.
Referenced by HandleInputValueCallback().
|
implementation |
Definition at line 131 of file OOMacJoystickManager.m.
References count, devices, HandleInputValueCallback(), OOLog, OOLogIndent(), OOLogOutdent(), and OOLogWillDisplayMessagesInClass().
Referenced by handleDeviceAttach:.
|
implementation |
Reimplemented from OOJoystickManager.
Definition at line 47 of file OOMacJoystickManager.m.
References devices, gammaTable, HandleDeviceMatchingCallback(), HandleDeviceRemovalCallback(), hidManager, init, int(), kJoystickGammaTableSize, OOLog, STICK_GAMMA, x, and y.
Referenced by init.
|
implementation |
Reimplemented from OOJoystickManager.
Definition at line 98 of file OOMacJoystickManager.m.
References devices, and joystickCount.
Referenced by joystickCount.
|
implementation |
Definition at line 228 of file OOMacJoystickManager.m.
References JOYHAT_CENTERED, JOYHAT_DOWN, JOYHAT_LEFT, JOYHAT_LEFTDOWN, JOYHAT_LEFTUP, JOYHAT_RIGHT, JOYHAT_RIGHTDOWN, JOYHAT_RIGHTUP, and JOYHAT_UP.
Referenced by handleInputEvent:.
|
implementation |
Reimplemented from OOJoystickManager.
Definition at line 332 of file OOMacJoystickManager.m.
References devices.
|
private |
Definition at line 44 of file OOMacJoystickManager.h.
Referenced by dealloc, handleDeviceRemoval:, handleJoystickAttach:, init, joystickCount, and nameOfJoystick:.
|
private |
Definition at line 45 of file OOMacJoystickManager.h.
Referenced by handleInputEvent:, and init.
|
private |
Definition at line 43 of file OOMacJoystickManager.h.