Repository navigation
Map the 3DS, Wii U and Switch Pro controllers in the base buttonmap - #356
Merged
garbear merged 1 commit intoNov 11, 2026
Merged
Conversation
A controller maps itself out of the box only when a buttonmap maps it next to the default controller. The four come from their game add-ons' libretro mappings: each feature takes the button of the default feature the core gives the same libretro input, so the layout is positional, as for the SNES controller. Home goes to the guide button, as the Wiimote's does.
garbear
approved these changes
Nov 11, 2026
|
Do you want to do an audit of all game add-ons and see which controllers are missing buttonmaps for out-of-the-box mapping? |
Author
|
Sure yep I can do there's some ive definitely noticed while building out the library and testing everything so will have look around and raise some gaps |
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.
On kodi-game/controller-topology-project#488, garbear pointed out that a controller maps itself out of the box only when a buttonmap maps it next to the default controller, because the add-on learns the correspondence from devices that have both. This adds the four profiles merged there, the 3DS, Wii U GamePad, Wii U Pro and Switch Pro controllers, to the base buttonmap (the Xbox One pad).
The mappings come from the cores that use these controllers: Citra and Azahar for the 3DS, Cemu for both Wii U pads, and suyu for the Switch Pro. Each feature takes the button of the default feature that the core gives the same libretro input. That makes the layout positional, as for the SNES controller, with A on the right. Home goes to the guide button, as the Wiimote's does. Capture, touch and rumble have no button to map.
Checked by replaying the transformer's matching against the new base buttonmap: a DualSense (mapped as the DualAnalog) and an Xbox 360 pad get every feature of all four controllers, and pads without sticks or a guide button get everything they have.
AI use
Claude Code with Claude Opus 5.5 at max effort.