Repository navigation
buttonmaps: Add the Steam Controller on its wireless receiver - #358
Merged
Merged
Conversation
The kernel's hid-steam driver reports a touch on either trackpad as a button, ahead of the click. Mapping the controller in the GUI picks those up: asked for "up", Kodi takes the left pad's touch, and from then on the pad means "up" whenever a thumb rests on it. Ship a udev map that ignores the two touch buttons and the left pad's position axes. The left pad's clicks are the d-pad, the stick is the left stick, the right pad is the right stick with its click as the thumb button, and the triggers are analog. Assisted-by: Claude
|
Thanks for the buttonmap! |
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.
The original Steam Controller has no button map, and making one in the GUI goes wrong. The kernel's hid-steam driver reports a touch on either trackpad as a button of its own, before the click, so when Kodi asks for "up" it takes the left pad's touch. I ended up with "up" firing whenever my thumb rested on the pad, and the same thing put the right pad's touch on the right thumb button.
This adds a udev map for the controller on its wireless receiver (28de:1142). The two touch buttons and the left pad's position axes are ignored, so they can't be picked up again when someone remaps it. The left pad's clicks are the d-pad, the stick is the left stick, the right pad is the right stick with its click as the thumb button, and the triggers are analog.
How has this been tested?
Kodi 22 RC2 on Linux 7.3 with hid-steam, controller on the wireless receiver. Navigates the Kodi UI and launched several RetroPlayer core to play games.
Not tested: the controller on a USB cable or over Bluetooth.