SDL/src/joystick
Sam Lantinga 30b4d90f1c Only update the serial number if it hasn't already been set
This fixes the serial number for Nintendo Switch Pro, which is queried from the hardware in device initialization, and was later clobbered by the USB string which isn't correct.

(cherry picked from commit 2042e9c4e3cba6ffa9c34abac14828e31365f98b)
2023-06-09 17:36:06 -07:00
..
android Android: indicate gamepaddb entries where axis order changed. 2023-03-11 13:01:50 -08:00
bsd Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2023-03-09 15:23:59 -08:00
darwin Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
dummy Updated copyright for 2023 2023-01-09 09:48:21 -08:00
emscripten Updated copyright for 2023 2023-01-09 09:48:21 -08:00
haiku Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2023-03-09 15:23:59 -08:00
hidapi Only update the serial number if it hasn't already been set 2023-06-09 17:36:06 -07:00
iphoneos Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
linux video/blit: fix -Wimplicit-fallthrough warnings 2023-03-28 10:21:35 -07:00
n3ds Updated copyright for 2023 2023-01-09 09:48:21 -08:00
os2 Updated copyright for 2023 2023-01-09 09:48:21 -08:00
ps2 Updated copyright for 2023 2023-01-09 09:48:21 -08:00
psp Updated copyright for 2023 2023-01-09 09:48:21 -08:00
steam Updated copyright for 2023 2023-01-09 09:48:21 -08:00
virtual Updated copyright for 2023 2023-01-09 09:48:21 -08:00
vita Updated copyright for 2023 2023-01-09 09:48:21 -08:00
windows Fixed reading input from the Razer Atrox Arcade Stick using Windows Gaming Input 2023-06-09 14:36:12 -07:00
check_8bitdo.sh Avoid use of deprecated egrep/fgrep 2022-11-24 02:59:41 -08:00
controller_list.h Fixed handling the Saitek P3600, which doesn't use the Xbox 360 controller protocol 2023-05-22 12:42:05 -07:00
controller_type.c Undo name change for the controller list 2023-05-19 14:27:06 -07:00
controller_type.h Separate the controller protocol from the controller style 2022-06-15 20:46:01 -07:00
SDL_gamecontroller.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2023-03-09 15:23:59 -08:00
SDL_gamecontrollerdb.h By default, OpenBSD uses Linux controller mappings 2023-04-29 17:10:46 -07:00
SDL_joystick.c fix SDL_FindFreePlayerIndex so it can really return -1. 2023-03-08 20:00:50 +03:00
SDL_joystick_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_sysjoystick.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
sort_controllers.py The Xinmotek Controller is used in multiple products with different mappings 2023-03-28 15:16:07 -07:00
usb_ids.h Added support for the Astro C40 in Xbox 360 mode 2023-05-19 14:23:57 -07:00