SDL/src/joystick
Sam Lantinga 9be35d4603 Convert mappings using labeled buttons to positional buttons
We were accidentally skipping all of the mappings that used the SDL_GAMECONTROLLER_USE_BUTTON_LABELS hint, because they used the '!' negate operator with a default hint value of 1. Instead we just want to use that hint to determine whether the mapping has positional buttons or not, and swap the buttons as needed.

Fixes https://github.com/libsdl-org/SDL/issues/9190
2024-03-03 14:17:03 -08: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 Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
linux Set udev class for accelerometer 2024-03-03 08:40:24 -08: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 Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
steam Updated copyright for 2024 2024-01-01 13:15:26 -08:00
virtual Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
vita Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
windows Fixed the WGI driver picking up Xbox controllers handled by RAWINPUT 2024-02-20 06:20:32 -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 Convert mappings using labeled buttons to positional buttons 2024-03-03 14:17:03 -08: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 Sanwa Supply JY-P76USV controller 2024-03-03 12:23:00 -08:00
SDL_joystick.c Fixed crash if the controller product name is NULL 2024-02-28 11:43:22 -08:00
SDL_joystick_c.h Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08: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 Generalized the idea of joystick driver priority 2024-02-17 16:06:07 -08:00
sort_controllers.py The Flydigi Vader and Apex series controllers all have the same VID, PID, and name 2023-07-19 09:22:01 -07:00
usb_ids.h mayflash adapter PS4 support 2024-01-24 19:25:35 -08:00