Skip to content

change miyoo screenshot shortcut to menu+select - #1598

Open
nroj95 wants to merge 1 commit into
spruceUI:mainfrom
nroj95:feature/miyoo-screenshot-hotkey
Open

nroj95 wants to merge 1 commit into
spruceUI:mainfrom
nroj95:feature/miyoo-screenshot-hotkey

Conversation

@nroj95

@nroj95 nroj95 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

adds MENU+SELECT as an additional global screenshot shortcut option.

changes:

  • add MENU+SELECT to the existing global screenshot shortcut setting
  • fix Miyoo Mini select button mapping so B_SELECT matches the actual B_SEL input event

tested on Miyoo Mini Plus:

  • screenshot from spruce ui
  • screenshot in-game

@nroj95
nroj95 force-pushed the feature/miyoo-screenshot-hotkey branch from 3eb3810 to ae69964 Compare August 11, 2026 18:04
@nroj95
nroj95 force-pushed the feature/miyoo-screenshot-hotkey branch from ae69964 to 1c44c56 Compare August 15, 2026 00:10
@ryanmsartor
ryanmsartor requested a review from chrisj951 August 27, 2026 02:36
Controller.clear_last_input()
elif Controller.last_controller_input == ControllerInput.MENU:
if not Controller.is_check_for_hotkey and not called_from_check_for_hotkey and not Controller.check_for_hotkey():
if not called_from_check_for_hotkey and os.path.exists("/tmp/screenshot_menu_consumed"):

@chrisj951 chrisj951 Sep 14, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There's some other code creating problems that this is just circumventing but not addressing. If you have time the update should be

Add a new key to App/PyUI/py-ui-config.json of ignoreMenuCombinationPresses

In Controller.py if ignoreMenuCombinationPresses is true, then have check_for_hotkey skip the actual performance of the hotkey, but report back that it WAS a hotkey press

This should prevent the rest of the code from seeing the menu, and allow delegating the hotkey solely to outside of PyUIs control instead of it being a weird shared handoff

@chrisj951

Copy link
Copy Markdown
Contributor

If you remove the PyUI side of this I am okay with this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants