Home
last modified time | relevance | path

Searched defs:joystick (Results 1 – 25 of 43) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c376 SDL_Joystick *joystick; in SDL_JoystickOpen() local
612 SDL_JoystickNumAxes(SDL_Joystick * joystick) in SDL_JoystickNumAxes()
624 SDL_JoystickNumHats(SDL_Joystick * joystick) in SDL_JoystickNumHats()
636 SDL_JoystickNumBalls(SDL_Joystick * joystick) in SDL_JoystickNumBalls()
648 SDL_JoystickNumButtons(SDL_Joystick * joystick) in SDL_JoystickNumButtons()
796 SDL_Joystick *joystick; in SDL_JoystickFromInstanceID() local
815 SDL_Joystick *joystick; in SDL_JoystickFromPlayerIndex() local
832 SDL_JoystickName(SDL_Joystick * joystick) in SDL_JoystickName()
914 SDL_JoystickClose(SDL_Joystick * joystick) in SDL_JoystickClose()
1127 SDL_Joystick *joystick = NULL; in SDL_PrivateJoystickRemoved() local
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_xinputjoystick.c351 SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickdevice) in SDL_XINPUT_JoystickOpen()
386 UpdateXInputJoystickBatteryInformation(SDL_Joystick * joystick, XINPUT_BATTERY_INFORMATION_EX *pBat… in UpdateXInputJoystickBatteryInformation()
415 UpdateXInputJoystickState_OLD(SDL_Joystick * joystick, XINPUT_STATE_EX *pXInputState, XINPUT_BATTER… in UpdateXInputJoystickState_OLD()
442 UpdateXInputJoystickState(SDL_Joystick * joystick, XINPUT_STATE_EX *pXInputState, XINPUT_BATTERY_IN… in UpdateXInputJoystickState()
483 SDL_XINPUT_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequen… in SDL_XINPUT_JoystickRumble()
500 SDL_XINPUT_JoystickUpdate(SDL_Joystick * joystick) in SDL_XINPUT_JoystickUpdate()
531 SDL_XINPUT_JoystickClose(SDL_Joystick * joystick) in SDL_XINPUT_JoystickClose()
564 SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickdevice) in SDL_XINPUT_JoystickOpen()
570 SDL_XINPUT_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequen… in SDL_XINPUT_JoystickRumble()
576 SDL_XINPUT_JoystickUpdate(SDL_Joystick * joystick) in SDL_XINPUT_JoystickUpdate()
[all …]
A DSDL_dinputjoystick.c741 SDL_Joystick *joystick = (SDL_Joystick *)pvRef; in EnumDevObjectsCallback() local
840 SortDevObjects(SDL_Joystick *joystick) in SortDevObjects()
871 SDL_DINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickdevice) in SDL_DINPUT_JoystickOpen()
1001 SDL_DINPUT_JoystickInitRumble(SDL_Joystick * joystick, Sint16 magnitude) in SDL_DINPUT_JoystickInitRumble()
1111 UpdateDINPUTJoystickState_Buffered(SDL_Joystick * joystick) in UpdateDINPUTJoystickState_Buffered()
1170 UpdateDINPUTJoystickState_Polled(SDL_Joystick * joystick) in UpdateDINPUTJoystickState_Polled()
1239 SDL_DINPUT_JoystickUpdate(SDL_Joystick * joystick) in SDL_DINPUT_JoystickUpdate()
1257 SDL_DINPUT_JoystickClose(SDL_Joystick * joystick) in SDL_DINPUT_JoystickClose()
1308 SDL_DINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickdevice) in SDL_DINPUT_JoystickOpen()
1320 SDL_DINPUT_JoystickUpdate(SDL_Joystick * joystick) in SDL_DINPUT_JoystickUpdate()
[all …]
A DSDL_mmjoystick.c226 SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index) in SDL_SYS_JoystickOpen()
311 SDL_SYS_JoystickUpdate(SDL_Joystick * joystick) in SDL_SYS_JoystickUpdate()
369 SDL_SYS_JoystickClose(SDL_Joystick * joystick) in SDL_SYS_JoystickClose()
395 SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick) in SDL_SYS_JoystickGetGUID()
A DSDL_windowsjoystick.c460 WINDOWS_JoystickOpen(SDL_Joystick * joystick, int device_index) in WINDOWS_JoystickOpen()
486 WINDOWS_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_… in WINDOWS_JoystickRumble()
496 WINDOWS_JoystickUpdate(SDL_Joystick * joystick) in WINDOWS_JoystickUpdate()
511 WINDOWS_JoystickClose(SDL_Joystick * joystick) in WINDOWS_JoystickClose()
A DSDL_rawinputjoystick.c110 SDL_Joystick *joystick; member
585 RAWINPUT_JoystickOpen(SDL_Joystick * joystick, int device_index) in RAWINPUT_JoystickOpen()
609 RAWINPUT_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency… in RAWINPUT_JoystickRumble()
618 RAWINPUT_JoystickUpdate(SDL_Joystick * joystick) in RAWINPUT_JoystickUpdate()
631 RAWINPUT_JoystickClose(SDL_Joystick * joystick) in RAWINPUT_JoystickClose()
687 SDL_Joystick *joystick = device->joystick; in RAWINPUT_WindowProc() local
/AliOS-Things-master/components/SDL2/src/joystick/virtual/
A DSDL_virtualjoystick.c167 SDL_JoystickSetVirtualAxisInner(SDL_Joystick * joystick, int axis, Sint16 value) in SDL_JoystickSetVirtualAxisInner()
192 SDL_JoystickSetVirtualButtonInner(SDL_Joystick * joystick, int button, Uint8 value) in SDL_JoystickSetVirtualButtonInner()
217 SDL_JoystickSetVirtualHatInner(SDL_Joystick * joystick, int hat, Uint8 value) in SDL_JoystickSetVirtualHatInner()
316 VIRTUAL_JoystickOpen(SDL_Joystick * joystick, int device_index) in VIRTUAL_JoystickOpen()
336 VIRTUAL_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_… in VIRTUAL_JoystickRumble()
343 VIRTUAL_JoystickUpdate(SDL_Joystick * joystick) in VIRTUAL_JoystickUpdate()
370 VIRTUAL_JoystickClose(SDL_Joystick * joystick) in VIRTUAL_JoystickClose()
/AliOS-Things-master/components/SDL2/src/joystick/dummy/
A DSDL_sysjoystick.c81 DUMMY_JoystickOpen(SDL_Joystick * joystick, int device_index) in DUMMY_JoystickOpen()
87 DUMMY_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_ru… in DUMMY_JoystickRumble()
93 DUMMY_JoystickUpdate(SDL_Joystick * joystick) in DUMMY_JoystickUpdate()
98 DUMMY_JoystickClose(SDL_Joystick * joystick) in DUMMY_JoystickClose()
/AliOS-Things-master/components/SDL2/src/joystick/alios/
A DSDL_sysjoystick.c38 SDL_Joystick *joystick = SDL_JoystickFromInstanceID(0); in game_key_irq_fun() local
131 AliOS_JoystickOpen(SDL_Joystick * joystick, int device_index) in AliOS_JoystickOpen()
140 AliOS_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_ru… in AliOS_JoystickRumble()
146 AliOS_JoystickUpdate(SDL_Joystick * joystick) in AliOS_JoystickUpdate()
180 AliOS_JoystickClose(SDL_Joystick * joystick) in AliOS_JoystickClose()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_xbox360w.c74 UpdatePowerLevel(SDL_Joystick *joystick, Uint8 level) in UpdatePowerLevel()
132 HIDAPI_DriverXbox360W_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXbox360W_OpenJoystick()
147 HIDAPI_DriverXbox360W_RumbleJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint16 low_… in HIDAPI_DriverXbox360W_RumbleJoystick()
161 HIDAPI_DriverXbox360W_HandleStatePacket(SDL_Joystick *joystick, hid_device *dev, SDL_DriverXbox360W… in HIDAPI_DriverXbox360W_HandleStatePacket()
213 SDL_Joystick *joystick = NULL; in HIDAPI_DriverXbox360W_UpdateDevice() local
271 HIDAPI_DriverXbox360W_CloseJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXbox360W_CloseJoystick()
A DSDL_hidapi_xboxone.c304 HIDAPI_DriverXboxOne_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXboxOne_OpenJoystick()
340 HIDAPI_DriverXboxOne_RumbleJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint16 low_f… in HIDAPI_DriverXboxOne_RumbleJoystick()
368 HIDAPI_DriverXboxOne_HandleStatePacket(SDL_Joystick *joystick, hid_device *dev, SDL_DriverXboxOne_C… in HIDAPI_DriverXboxOne_HandleStatePacket()
490 HIDAPI_DriverXboxOne_HandleModePacket(SDL_Joystick *joystick, hid_device *dev, SDL_DriverXboxOne_Co… in HIDAPI_DriverXboxOne_HandleModePacket()
503 HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1(SDL_Joystick *joystick, hid_device *dev, SDL_Driv… in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1()
592 HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV2(SDL_Joystick *joystick, hid_device *dev, SDL_Driv… in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV2()
694 HIDAPI_DriverXboxOneBluetooth_HandleGuidePacket(SDL_Joystick *joystick, hid_device *dev, SDL_Driver… in HIDAPI_DriverXboxOneBluetooth_HandleGuidePacket()
704 SDL_Joystick *joystick = NULL; in HIDAPI_DriverXboxOne_UpdateDevice() local
807 HIDAPI_DriverXboxOne_CloseJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXboxOne_CloseJoystick()
A DSDL_hidapi_xbox360.c85 SDL_Joystick *joystick; member
671 HIDAPI_DriverXbox360_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXbox360_OpenJoystick()
719 HIDAPI_DriverXbox360_RumbleJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint16 low_f… in HIDAPI_DriverXbox360_RumbleJoystick()
807 HIDAPI_DriverXbox360_HandleStatePacket(SDL_Joystick *joystick, hid_device *dev, SDL_DriverXbox360_C… in HIDAPI_DriverXbox360_HandleStatePacket()
812 # define SDL_PrivateJoystickButton(joystick, button, state) if (state) match_state |= 1 << (butto… in HIDAPI_DriverXbox360_HandleStatePacket() argument
814 # define SDL_PrivateJoystickAxis(joystick, axis, value) if (axis < 4) match_state = (match_state … in HIDAPI_DriverXbox360_HandleStatePacket() argument
929 …Xbox360_HandleStatePacketFromRAWINPUT(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint8 *da… in HIDAPI_DriverXbox360_HandleStatePacketFromRAWINPUT()
939 HIDAPI_DriverXbox360_HandleStatePacket(SDL_Joystick *joystick, hid_device *dev, SDL_DriverXbox360_C… in HIDAPI_DriverXbox360_HandleStatePacket()
993 HIDAPI_DriverXbox360_UpdateOtherAPIs(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverXbox360_UpdateOtherAPIs()
1227 SDL_Joystick *joystick = NULL; in HIDAPI_DriverXbox360_UpdateDevice() local
[all …]
A DSDL_hidapi_gamecube.c230 SDL_Joystick *joystick; in HIDAPI_DriverGameCube_UpdateDevice() local
324 HIDAPI_DriverGameCube_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverGameCube_OpenJoystick()
340 HIDAPI_DriverGameCube_RumbleJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint16 low_… in HIDAPI_DriverGameCube_RumbleJoystick()
367 HIDAPI_DriverGameCube_CloseJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) in HIDAPI_DriverGameCube_CloseJoystick()
/AliOS-Things-master/components/SDL2/src/joystick/haiku/
A DSDL_haikujoystick.cc61 BJoystick joystick; in HAIKU_JoystickInit() local
124 static int HAIKU_JoystickOpen(SDL_Joystick * joystick, int device_index) in HAIKU_JoystickOpen()
171 static void HAIKU_JoystickUpdate(SDL_Joystick * joystick) in HAIKU_JoystickUpdate()
220 static void HAIKU_JoystickClose(SDL_Joystick * joystick) in HAIKU_JoystickClose()
257 …static int HAIKU_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_… in HAIKU_JoystickRumble()
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c631 allocate_hatdata(SDL_Joystick * joystick) in allocate_hatdata()
649 allocate_balldata(SDL_Joystick * joystick) in allocate_balldata()
667 ConfigJoystick(SDL_Joystick * joystick, int fd) in ConfigJoystick()
792 LINUX_JoystickOpen(SDL_Joystick * joystick, int device_index) in LINUX_JoystickOpen()
851 LINUX_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_ru… in LINUX_JoystickRumble()
925 AxisCorrect(SDL_Joystick * joystick, int which, int value) in AxisCorrect()
954 PollAllValues(SDL_Joystick * joystick) in PollAllValues()
1014 HandleInputEvents(SDL_Joystick * joystick) in HandleInputEvents()
1108 LINUX_JoystickUpdate(SDL_Joystick * joystick) in LINUX_JoystickUpdate()
1135 LINUX_JoystickClose(SDL_Joystick * joystick) in LINUX_JoystickClose()
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/emscripten/
A DSDL_sysjoystick.c307 EMSCRIPTEN_JoystickOpen(SDL_Joystick * joystick, int device_index) in EMSCRIPTEN_JoystickOpen()
339 EMSCRIPTEN_JoystickUpdate(SDL_Joystick * joystick) in EMSCRIPTEN_JoystickUpdate()
381 EMSCRIPTEN_JoystickClose(SDL_Joystick * joystick) in EMSCRIPTEN_JoystickClose()
401 EMSCRIPTEN_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequen… in EMSCRIPTEN_JoystickRumble()
/AliOS-Things-master/components/SDL2/src/haptic/dummy/
A DSDL_syshaptic.c71 SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick) in SDL_SYS_JoystickIsHaptic()
78 SDL_SYS_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_SYS_HapticOpenFromJoystick()
85 SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_SYS_JoystickSameHaptic()
/AliOS-Things-master/components/SDL2/src/joystick/psp/
A DSDL_sysjoystick.c171 int SDL_SYS_JoystickOpen(SDL_Joystick *joystick, int device_index) in SDL_SYS_JoystickOpen()
185 void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick) in SDL_SYS_JoystickUpdate()
228 void SDL_SYS_JoystickClose(SDL_Joystick *joystick) in SDL_SYS_JoystickClose()
251 SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick) in SDL_SYS_JoystickGetGUID()
/AliOS-Things-master/components/SDL2/test/
A Dtestjoystick.c37 static SDL_Joystick *joystick = NULL; variable
41 PrintJoystick(SDL_Joystick *joystick) in PrintJoystick()
A Dtesthotplug.c26 SDL_Joystick *joystick = NULL; in main() local
/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/
A DSDL_sysjoystick.m350 if (device->joystick) { method in device
525 device->joystick = joystick; method in SDL_Joystick
596 SDL_PrivateJoystickAxis(joystick, 0, (accel.x / maxgforce) * maxsint16); category
597 SDL_PrivateJoystickAxis(joystick, 1, -(accel.y / maxgforce) * maxsint16); category
598 SDL_PrivateJoystickAxis(joystick, 2, (accel.z / maxgforce) * maxsint16); category
666 if (joystick->hwdata->button_mask & (1 << SDL_CONTROLLER_BUTTON_LEFTSTICK)) { category
669 if (joystick->hwdata->button_mask & (1 << SDL_CONTROLLER_BUTTON_RIGHTSTICK)) { category
672 if (joystick->hwdata->button_mask & (1 << SDL_CONTROLLER_BUTTON_BACK)) { category
676 if (joystick->hwdata->button_mask & (1 << SDL_CONTROLLER_BUTTON_START)) { category
736 if (joystick->hwdata->button_mask & (1 << SDL_CONTROLLER_BUTTON_START)) { category
[all …]
/AliOS-Things-master/components/SDL2/src/haptic/windows/
A DSDL_windowshaptic.c174 SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick) in SDL_SYS_JoystickIsHaptic()
196 SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_SYS_JoystickSameHaptic()
214 SDL_SYS_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_SYS_HapticOpenFromJoystick()
A DSDL_xinputhaptic.c228 SDL_XINPUT_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_XINPUT_JoystickSameHaptic()
234 SDL_XINPUT_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_XINPUT_HapticOpenFromJoystick()
399 SDL_XINPUT_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_XINPUT_JoystickSameHaptic()
405 SDL_XINPUT_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick) in SDL_XINPUT_HapticOpenFromJoystick()
/AliOS-Things-master/components/SDL2/src/joystick/steam/
A DSDL_steamcontroller.c44 void SDL_UpdateSteamController(SDL_Joystick *joystick) in SDL_UpdateSteamController()
/AliOS-Things-master/components/SDL2/src/joystick/android/
A DSDL_sysjoystick.c607 ANDROID_JoystickOpen(SDL_Joystick * joystick, int device_index) in ANDROID_JoystickOpen()
631 ANDROID_JoystickRumble(SDL_Joystick * joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_… in ANDROID_JoystickRumble()
637 ANDROID_JoystickUpdate(SDL_Joystick * joystick) in ANDROID_JoystickUpdate()
666 ANDROID_JoystickClose(SDL_Joystick * joystick) in ANDROID_JoystickClose()

Completed in 44 milliseconds

12