Skip to content

Android: option to handle physical controllers sideways - #540

Draft
GlitchedCode wants to merge 4 commits into
ButterscotchRunner:mainfrom
GlitchedCode:physical_controller_sideways
Draft

GlitchedCode wants to merge 4 commits into
ButterscotchRunner:mainfrom
GlitchedCode:physical_controller_sideways

Conversation

@GlitchedCode

@GlitchedCode GlitchedCode commented Sep 15, 2026

Copy link
Copy Markdown

For games like shmups that benefit more from portrait orientation than landscape (e.g. ZeroRanger), it could be desirable to end users to have the possibility to handle telescopic controllers sideways (especially in cases such as the controller not fitting in a different orientation, or when using the USB-C port). This PR adds the physicalControllerSideways option to game setup and metadata related modules, and offers a basic implementation of this functionality through GamepadRouter. If there's a better way to approach this last part any feedback is welcome.

@GlitchedCode
GlitchedCode marked this pull request as draft September 15, 2026 21:04
@GlitchedCode
GlitchedCode force-pushed the physical_controller_sideways branch from fdd2cb3 to bc448d9 Compare September 15, 2026 21:34
@GlitchedCode
GlitchedCode marked this pull request as ready for review September 15, 2026 21:45
@GlitchedCode
GlitchedCode marked this pull request as draft September 16, 2026 09:31
@GlitchedCode

GlitchedCode commented Sep 16, 2026

Copy link
Copy Markdown
Author

currently has issues on my zeroranger fork. i suspect due to multiple inputs being simultaneously sent to the underlying VM

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