|
SDL
2.0
|
#include "../../SDL_internal.h"#include "SDL_events.h"#include "SDL_joystick.h"#include "SDL_hints.h"#include "SDL_stdinc.h"#include "../SDL_sysjoystick.h"#include "../SDL_joystick_c.h"#include "../usb_ids.h"#include "SDL_mfijoystick_c.h"#include "../../events/SDL_events_c.h"
Include dependency graph for SDL_mfijoystick.m:Go to the source code of this file.
Variables | |
| static SDL_JoystickDeviceItem * | deviceList = NULL |
| static int | numjoysticks = 0 |
| int | SDL_AppleTVRemoteOpenedAsJoystick = 0 |
| SDL_JoystickDriver | SDL_IOS_JoystickDriver |
|
static |
Definition at line 112 of file SDL_mfijoystick.m.
References device, deviceList, i, and NULL.
Referenced by IOS_JoystickGetDeviceGUID(), IOS_JoystickGetDeviceInstanceID(), IOS_JoystickGetDeviceName(), IOS_JoystickGetDevicePlayerIndex(), IOS_JoystickOpen(), and IOS_JoystickSetDevicePlayerIndex().
|
static |
Definition at line 670 of file SDL_mfijoystick.m.
References joystick, SDL_IPHONE_MAX_GFORCE, SDL_max, SDL_min, and SDL_PrivateJoystickAxis().
Referenced by IOS_JoystickUpdate().
|
static |
Definition at line 1304 of file SDL_mfijoystick.m.
References cleanup, device, joystick, NULL, and SDL_AppleTVRemoteOpenedAsJoystick.
Definition at line 548 of file SDL_mfijoystick.m.
|
static |
Definition at line 583 of file SDL_mfijoystick.m.
References device, GetDeviceForIndex(), and SDL_zero.
|
static |
|
static |
|
static |
Definition at line 1378 of file SDL_mfijoystick.m.
References SDL_FALSE.
|
static |
Definition at line 1230 of file SDL_mfijoystick.m.
Definition at line 478 of file SDL_mfijoystick.m.
References sort_controllers::controllers, NULL, SDL_AddHintCallback, SDL_FALSE, SDL_GetHintBoolean, SDL_HINT_ACCELEROMETER_AS_JOYSTICK, SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION, and SDL_TRUE.
Definition at line 603 of file SDL_mfijoystick.m.
References device, GetDeviceForIndex(), joystick, NULL, SDL_AppleTVRemoteOpenedAsJoystick, SDL_PrivateJoystickAddSensor(), SDL_PrivateJoystickAddTouchpad(), SDL_SENSOR_ACCEL, SDL_SENSOR_GYRO, and SDL_SetError.
Definition at line 1343 of file SDL_mfijoystick.m.
References deviceList, IOS_RemoveJoystickDevice(), NULL, numjoysticks, SDL_DelHintCallback, and SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION.
|
static |
Definition at line 1178 of file SDL_mfijoystick.m.
References device, joystick, and SDL_Unsupported.
|
static |
Definition at line 1204 of file SDL_mfijoystick.m.
References device, joystick, and SDL_Unsupported.
|
static |
|
static |
Definition at line 1288 of file SDL_mfijoystick.m.
References device, IOS_AccelerometerUpdate(), IOS_MFIJoystickUpdate(), joystick, and NULL.
|
static |
Definition at line 740 of file SDL_mfijoystick.m.
References i, joystick, SDL_arraysize, SDL_CONTROLLER_BUTTON_BACK, SDL_CONTROLLER_BUTTON_GUIDE, SDL_CONTROLLER_BUTTON_LEFTSTICK, SDL_CONTROLLER_BUTTON_PADDLE1, SDL_CONTROLLER_BUTTON_PADDLE2, SDL_CONTROLLER_BUTTON_PADDLE3, SDL_CONTROLLER_BUTTON_PADDLE4, SDL_CONTROLLER_BUTTON_RIGHTSTICK, SDL_CONTROLLER_BUTTON_START, SDL_HAT_CENTERED, SDL_JOYSTICK_POWER_EMPTY, SDL_JOYSTICK_POWER_FULL, SDL_JOYSTICK_POWER_LOW, SDL_JOYSTICK_POWER_MEDIUM, SDL_JOYSTICK_POWER_UNKNOWN, SDL_JOYSTICK_POWER_WIRED, SDL_PRESSED, SDL_PrivateJoystickAxis(), SDL_PrivateJoystickBatteryLevel(), SDL_PrivateJoystickButton(), SDL_PrivateJoystickHat(), SDL_PrivateJoystickSensor(), SDL_PrivateJoystickTouchpad(), SDL_RELEASED, SDL_SENSOR_ACCEL, SDL_SENSOR_GYRO, and SDL_STANDARD_GRAVITY.
Referenced by IOS_JoystickUpdate().
|
static |
Definition at line 401 of file SDL_mfijoystick.m.
References device, deviceList, recDevice::next, NULL, numjoysticks, SDL_free, and SDL_PrivateJoystickRemoved().
Referenced by IOS_JoystickQuit().
|
static |
Definition at line 106 of file SDL_mfijoystick.m.
Referenced by GetDeviceForIndex(), IOS_JoystickQuit(), and IOS_RemoveJoystickDevice().
|
static |
Definition at line 108 of file SDL_mfijoystick.m.
Referenced by IOS_JoystickGetCount(), IOS_JoystickQuit(), and IOS_RemoveJoystickDevice().
| int SDL_AppleTVRemoteOpenedAsJoystick = 0 |
Definition at line 109 of file SDL_mfijoystick.m.
Referenced by IOS_JoystickClose(), and IOS_JoystickOpen().
| SDL_JoystickDriver SDL_IOS_JoystickDriver |
Definition at line 1393 of file SDL_mfijoystick.m.