Add SDL3 Controller Support#18833
Merged
Merged
Conversation
RobLoach
commented
Mar 15, 2026
This was referenced Mar 15, 2026
Closed
RobLoach
commented
Jun 13, 2026
RobLoach
commented
Jun 13, 2026
Collaborator
|
I have done some testing of this in linux where it builds and functions as expected |
agr541
pushed a commit
to agr541/RetroArch
that referenced
this pull request
Jun 26, 2026
* sdl3: Add SDL3 Controller support * sdl3: Add to feature list * sdl3: Update * Update SDL3 * Apply suggestion from @RobLoach * Apply suggestion from @RobLoach * sdl3: Use a different ID for sdl3_joypad.c * sdl3: Have a standard mapping flag * sdl3: Clean up * sdl3: Only load mappings if the autodetect system is enabled * sdl3: Add docs pointing to SDL3 directly * sdl3: Probably don't need to reload the mappings before quitting * sdl3: Safety checks and protection * sdl3: Add SDL_SetHints() for Wii * sdl3: LED --------- Co-authored-by: Rob Loach <RobLoach@users.noreply.github.com>
agr541
pushed a commit
to agr541/RetroArch
that referenced
this pull request
Jun 26, 2026
* sdl3: Add SDL3 Controller support * sdl3: Add to feature list * sdl3: Update * Update SDL3 * Apply suggestion from @RobLoach * Apply suggestion from @RobLoach * sdl3: Use a different ID for sdl3_joypad.c * sdl3: Have a standard mapping flag * sdl3: Clean up * sdl3: Only load mappings if the autodetect system is enabled * sdl3: Add docs pointing to SDL3 directly * sdl3: Probably don't need to reload the mappings before quitting * sdl3: Safety checks and protection * sdl3: Add SDL_SetHints() for Wii * sdl3: LED --------- Co-authored-by: Rob Loach <RobLoach@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is initial support on SDL3 Controller support. Using SDL3 will mean disabling the other SDL drivers, since the APIs are not backwards compatible. I've split it into its own
sdl3_joypad.c.Features
References
Test
autoconfig/sdl3/gamecontrollerdb.cfgfrom sdl3: Add SDL_GameControllerDB directly retroarch-joypad-autoconfig#1317 is in your configssdl3(Menu > Input > Controller > sdl3)