Skip to content

library: stop gamepad buttons other than A from confirming in the gam… - #782

Merged
maxjivi05 merged 2 commits into
WinNative-Emu:mainfrom
maxjivi05:fix/controller-nav
Oct 1, 2026
Merged

maxjivi05 merged 2 commits into
WinNative-Emu:mainfrom
maxjivi05:fix/controller-nav

Conversation

@maxjivi05

Copy link
Copy Markdown
Contributor

…e screen

The game detail/Play screen moves Android focus with the D-pad and handles no gamepad keys, so Android re-sent unhandled buttons as their Generic.kcm fallbacks: Y as SPACE and Start/L3/R3 as DPAD_CENTER, which all clicked the focused control, while X (DEL) and Select (MENU) did nothing.

controllerConfirmOnA() consumes every gamepad button except A, B and Guide when no control claims it. It covers the game screen, its source menu popup and the retro save transfer dialog. DialogPaneNav now also keeps L3/R3 from falling back into an activate, and controllerMenuInput uses the same rule.

…e screen

The game detail/Play screen moves Android focus with the D-pad and handles
no gamepad keys, so Android re-sent unhandled buttons as their Generic.kcm
fallbacks: Y as SPACE and Start/L3/R3 as DPAD_CENTER, which all clicked the
focused control, while X (DEL) and Select (MENU) did nothing.

controllerConfirmOnA() consumes every gamepad button except A, B and Guide
when no control claims it. It covers the game screen, its source menu popup
and the retro save transfer dialog. DialogPaneNav now also keeps L3/R3 from
falling back into an activate, and controllerMenuInput uses the same rule.
@maxjivi05
maxjivi05 merged commit ee0c844 into WinNative-Emu:main Oct 1, 2026
4 checks passed
@maxjivi05
maxjivi05 deleted the fix/controller-nav branch October 1, 2026 01:48
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.

1 participant