input: add accessibility co-pilot joypad feature#18850
Open
Iansboro wants to merge 1 commit intolibretro:masterfrom
Open
input: add accessibility co-pilot joypad feature#18850Iansboro wants to merge 1 commit intolibretro:masterfrom
Iansboro wants to merge 1 commit intolibretro:masterfrom
Conversation
Member
Author
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.


Closes #7830 (N-to-1 direction)
Inspiration
This feature is inspired by the Xbox Copilot accessibility feature,
which allows a second controller to assist a player with disabilities.
Unlike the existing "Mapped Port" workaround (which is not easily discoverable), this implementation provides
a dedicated, persistent, globally-applicable setting directly in the
Port N Controls menu where users already configure their controllers.
What this does
Allows a second physical controller ("co-pilot") to share input with
an existing player port. Intended for users with disabilities who need
assistance from a caregiver or companion controller.
Persistent: configured once in retroarch.cfg, applies to all cores and games automatically.
How it works
controller model can trigger basic hotkeys (e.g. Start+Select for menu)
Tested on
Known Limitations
the co-pilot pad to have the same physical button layout as the main
controller. Basic hotkeys (Start+Select for menu toggle) work correctly
with any controller model. Will be addressed in a follow-up PR.
Files changed
configuration.h—COPILOT_PORT_DISABLEDconstant +input_copilot_port[]configuration.c— default init +.cfgpersistence (p1–p8)input/input_driver.c— game input merge + hotkey mergemenu/menu_setting.c— UI entry per player port with navigation callbacksAccessibility
This feature has no impact on users who do not configure it
(default =
COPILOT_PORT_DISABLEDfor all ports).