Files
SDL/src/joystick
Nintorch 60a59fa557 Include OS detection in Emscripten joystick GUID
This PR modifies the Emscripten joystick backend to detect the user's OS and store its ID in the GUID, because different OSes might need different mappings for the same controllers.
I'm not sure if different browsers on the same OS can also have different mappings, but if they can, browser detection can be added to the GUID too if needed.

This PR also makes the GUID use `SDL_HARDWARE_BUS_USB` instead of `SDL_HARDWARE_BUS_UNKNOWN`, similarly to how Android and MFI backends always use `SDL_HARDWARE_BUS_BLUETOOTH` and GameInput, XInput, and RawInput backends always use `SDL_HARDWARE_BUS_USB`.
2026-04-21 07:35:28 -10:00
..
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-23 16:02:16 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-04-10 10:56:16 -07:00
2026-01-01 09:40:08 -08:00