Repository navigation
Conversation
davdxpx
force-pushed
the
ingame-quick-button
branch
from
November 25, 2026 07:37
9f281fd to
9bdbae1
Compare
davdxpx
marked this pull request as ready for review
November 25, 2026 09:19
davdxpx
added a commit
to davdxpx/peanuts-native
that referenced
this pull request
Nov 25, 2026
Upstream's one in-game panel with five text tabs becomes two menus, as on a console: everything about this session at the left, everything that tunes the running game at the right. The game keeps running behind both. - The game menu: the game's cover, name, version and this session's time; Back to the game, Pause the game, Quick menu, Back up the save (copied while the game runs, checked before and after the copy), Button mapping, Share log, and Stop the game set apart at the bottom, asked once inline. - The quick menu: the panel's tabs on a rail of solid icons at the left (Performance, Display, Cheats, Mods, Controls, the menu's own settings at the bottom). Cheats and Mods are two tabs now. A header with Back and the tab's name, section heads in capitals, a slider's value at its right. - Home pressed, - and + held, Back and a swipe in from the left edge open the game menu; Home held opens the quick menu, as do a swipe in from the right edge and a long press on the on-screen controls' button. - Calm motion: in 240 ms decelerating, out 180 ms, on hardware layers.
…also when Home's list fills again meanwhile
davdxpx
force-pushed
the
ingame-quick-button
branch
from
November 25, 2026 19:48
f344aaa to
ef21e02
Compare
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.
On the AYN Thor, Home belongs to Android: it goes to the launcher and closes the game. Back opens the game menu, and the quick menu is one step further. With this change a player picks a button of their own that opens the quick menu at once, by pressing it. Nothing is set by default.
Builds on Part A (#678, the two menus) and Part B (#679, one menu and the layout's question).
What players get
Pictures
How it is built
dev.peanuts.ui.QuickButtonasks for the button, names it and warns;PeanutsPrefs.quickKeykeeps it in the launcher's prefs, which the game's process reads when it starts. In the game one marked hook inGameActivity.dispatchKeyEventhands the button toInGamePanel.quickKey, after the controller's Back and before the − + combination.PEANUTS.mdandpeanuts/UPSTREAM-EDITS.mdlist the hook and the new file.Tested
peanuts/tests/test_ingame_menus.py;upstream-update.sh --check;check-publish.sh;check-min-api.pyon the APK.