Skip to content

Add mappings for NES Switch controllers on Linux#15755

Merged
slouken merged 1 commit into
libsdl-org:mainfrom
Nintorch:linux-nes-controller-switch-mappings
Jun 5, 2026
Merged

Add mappings for NES Switch controllers on Linux#15755
slouken merged 1 commit into
libsdl-org:mainfrom
Nintorch:linux-nes-controller-switch-mappings

Conversation

@Nintorch

@Nintorch Nintorch commented Jun 5, 2026

Copy link
Copy Markdown
Contributor
  • I confirm that I am the author of this code and release it to the SDL project under the Zlib license. This contribution does not contain code from other sources, including code generated by a Large Language Model ("AI").

Description

This PR adds controller mappings for NES controllers for Nintendo Switch on Linux.
This PR needs to be tested, so I will prepare an archive for testing for notroid5 once the CI finishes! (EDIT: This PR seems to work well!)

Existing Issue(s)

godotengine/godot#119785

@slouken

slouken commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

I'm marking this as draft until it's tested.

@slouken
slouken marked this pull request as draft June 5, 2026 07:36
@Nintorch

Nintorch commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

@notroid5 Hello! May I ask if you could test this version of testcontroller with your NES controllers, please?
testcontrollernew.zip
Before running the file, don't forget to run export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./

If possible, could you also record a video of you testing the controllers and pressing every button, please?

@notroid5

notroid5 commented Jun 5, 2026

Copy link
Copy Markdown

Looks fine to me.

NES_Controller_L.mp4
NES_Controller_R.mp4

@Nintorch

Nintorch commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

Great, thank you!

@Nintorch
Nintorch marked this pull request as ready for review June 5, 2026 15:10
@slouken
slouken merged commit 2fd15d9 into libsdl-org:main Jun 5, 2026
44 of 46 checks passed
@slouken slouken added this to the 3.4.12 milestone Jun 5, 2026
@slouken

slouken commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Merged, thanks!

@Nintorch
Nintorch deleted the linux-nes-controller-switch-mappings branch June 5, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants