SDL/src/joystick
rofl0r 7169db1e62 PSP: don't block on joystick event query
using the blocking sceCtrlReadBufferPositive() effectively turns SDL_PollEvent() into WaitForVblank(), because the functions does exactly that if no input is buffered.
due to this, calling SDL_PollEvent() once per frame averaged in 7 ms delay out of the available 16ms budget to get a frame calculated and drawn to achieve 60 fps.

(cherry picked from commit 86f223d664)
2024-03-17 13:23:51 -07:00
..
android Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
apple Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
bsd Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
darwin Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
dummy Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
emscripten Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
gdk Added support for non-gamepad controllers to the GameInput driver 2024-02-17 22:32:44 -08:00
haiku Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
hidapi Adjust Steam button names to match SDL 2024-03-15 16:05:19 -07:00
linux Re-added balls to the SDL joystick API 2024-03-10 21:30:14 -07:00
n3ds Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
ps2 Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
psp PSP: don't block on joystick event query 2024-03-17 13:23:51 -07:00
steam Updated copyright for 2024 2024-01-01 13:15:26 -08:00
virtual Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
vita Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
windows Disable warning C4113 in SDL_windows_gaming_input.c 2024-03-06 13:33:20 -08:00
check_8bitdo.sh SDL API renaming: SDL_gamecontroller.h 2022-12-27 09:47:24 -08:00
controller_list.h Use the Valve code name for the Steam Deck controller 2023-12-28 15:41:02 -08:00
controller_type.c Undo name change for the controller list 2023-05-19 14:26:37 -07:00
controller_type.h Use the Valve code name for the Steam Deck controller 2023-12-28 15:41:02 -08:00
SDL_gamepad.c iostream: "free*" params should be "closeio". 2024-03-14 23:14:46 -04:00
SDL_gamepad_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_gamepad_db.h Added a mapping for the Defender Joystick Cobra R4 (thanks @kotenok2000!) 2024-03-17 12:13:21 -07:00
SDL_joystick.c Re-added balls to the SDL joystick API 2024-03-10 21:30:14 -07:00
SDL_joystick_c.h Re-added balls to the SDL joystick API 2024-03-10 21:30:14 -07:00
SDL_steam_virtual_gamepad.c Fix memory leak in SDL_UpdateSteamVirtualGamepadInfo() 2024-02-06 01:55:47 -08:00
SDL_steam_virtual_gamepad.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_sysjoystick.h Re-added balls to the SDL joystick API 2024-03-10 21:30:14 -07:00
sort_controllers.py Use the CRC as part of the unique key for mappings 2024-03-17 12:13:21 -07:00
usb_ids.h mayflash adapter PS4 support 2024-01-24 19:25:35 -08:00