feat: add per-app gamepad type override in web UI#4863
feat: add per-app gamepad type override in web UI#4863edgar-simao wants to merge 2 commits intoLizardByte:masterfrom
Conversation
ReenigneArcher
left a comment
There was a problem hiding this comment.
Thank you for the PR!
Instead of only allowing one config option to work per app, I think we should address this entire roadmap item in one PR. LizardByte/roadmap#31
I also notice your PR modifies localization files other than the default language (en). We do not accept contributions on GitHub for these files, but you can contribute on Crowdin. Please see https://docs.lizardbyte.dev/latest/developers/contributing.html#localization for more information.
Hey, I have been asking for this feature for more than a year but it got no attention, so I decided to add these to use on my own build of Sunshine, hence why it may not be fully polished. I will remove the changes to the localization files and commit that as soon as I can, and if any further changes are needed feel free to reach out! although it seems that the roadmap issue you liked is stale for almost a year now... :( |
|
|
It isn't stale, I'm just one person. I created the roadmap last April and have completed 40 items so far, 50 remaining. |
I meant it didn't have any code contributions since it was created. Nothing about you, if anything, you are a powerhouse that keeps building one of my most (if not the most) used tools for gaming, and I thank you dearly for it! PS: since i already started messing with the code, I will try to add some more stuff to the broader issue you linked. |
If it's too much, this is actually one of the things I was planning on tackling soon. But probably after LizardByte/roadmap#35 |




Description
Add ability to override the gamepad type per app. The user can now select a controller type on each app to override the default option chosen in the Input tab. This can be left as default, and the option selected in the Input tab controls the input type as before.
Web UI (Apps page): Added a per-app “Gamepad” dropdown so users can choose the gamepad type (x360, ds4, xone, ds5, switch, or auto/default) for each application. The control is shown on Windows, Linux, and FreeBSD; it is hidden on macOS. New locale keys (
apps.gamepad,apps.gamepad_default,apps.gamepad_desc) were added and wired in all locale files.Backend:
gamepadfield and documented allowed values (xone, ds5, switch, x360, ds4, or empty/auto for global config).input::alloc()to accept an optionalgamepad_overrideand pass it through so the chosen gamepad type is used for that app’s stream.Result: each app can have its own gamepad type instead of relying only on the global setting.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage