Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust UI for devices with physical buttons #170

Conversation

gkoh
Copy link
Owner

@gkoh gkoh commented Jan 17, 2025

For M5StickC:

  • move right button to match physical button location
  • move the 'Back' button up by a pixel, it was ever so slightly off

For M5Stack Core:

  • change the DPI for M5Stack Core so the main menu doesn't need scrolling

Lighten the navigation button colour by 50% to distinguish from menu selection (otherwise it's just a solid blob of colour on overlap).

gkoh added 2 commits January 17, 2025 12:13
Lighten the button colours by 50% to distinguish from menu
selection (otherwise it's just a solid blob of colour on overlap).

Also, move the 'Back' button up by a pixel, it was ever so slightly off.
Change the DPI for M5Stack Core so the main menu doesn't need scrolling.
gkoh added 2 commits January 17, 2025 12:52
This makes the physical button direction match the menu navigation.
Using widget state, change up/down to left/right during slider control.

Update clang-format to prettify switch/case/break.
@gkoh gkoh merged commit af3933a into master Jan 18, 2025
6 checks passed
@gkoh gkoh deleted the 167-on-m5stickc-portrait-orientation-button-icons-no-longer-align-with-actual-buttons branch January 18, 2025 00:55
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.

On M5StickC portrait orientation, button icons no longer align with actual buttons
1 participant