Skip to content

Conversation

@bGZo
Copy link

@bGZo bGZo commented Dec 18, 2025

This PR change a mapping on xbox controller with share button.

Whats problem

Origin maping is BACK, but in android, we could use button b to back, so this mapping is wasting.

Refer to Steam and Xbox use case, which is alway used for taking screenshot and sharing. So I changed to SYSRQ, which would run screenshot default on android.

I've test on my phone(Oneplus, ColorOS 15, Android 15). Please considered merge if it's help you as well.

Copilot AI review requested due to automatic review settings December 18, 2025 23:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR remaps the Xbox Series X/S wireless controller's share button (key 167) from BACK to SYSRQ to enable screenshot functionality on Android. The change aligns with the button's intended use on Steam and Xbox platforms, where the share button is primarily used for taking screenshots.

  • Changed key 167 mapping from BACK to SYSRQ for screenshot functionality
  • Updated inline comment to reflect the new purpose and behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

key 315 BUTTON_START # center right button with "hamburger" icon. Normally: BUTTON_START
key 316 BUTTON_MODE # big Xbox logo center top button. Normally: BUTTON_MODE
key 167 BACK # center bottom button with an "eject" icon. Normally: ???
key 167 SYSRQ # center bottom button with an "eject" icon. Normally: takescreenshot (PRINT_SCREEN)
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "takescreenshot" should be "take screenshot" (two words) for proper grammar and readability.

Suggested change
key 167 SYSRQ # center bottom button with an "eject" icon. Normally: takescreenshot (PRINT_SCREEN)
key 167 SYSRQ # center bottom button with an "eject" icon. Normally: take screenshot (PRINT_SCREEN)

Copilot uses AI. Check for mistakes.
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