Skip to content

Commit

Permalink
Update ConfigScreen.cpp (OpenStickCommunity#1169)
Browse files Browse the repository at this point in the history
Small update to change the shortcut buttons for `pin viewer` and `stats` to buttons that will not conflict with the shortcut to get into web-config mode.
  • Loading branch information
TheTrainGoes authored Sep 30, 2024
1 parent 2ec1f04 commit f71ef96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/display/ui/screens/ConfigScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ int8_t ConfigScreen::update() {
case (GAMEPAD_MASK_B2):
prevButtonState = 0;
return DisplayMode::SPLASH;
case (GAMEPAD_MASK_B3):
case (GAMEPAD_MASK_R2):
prevButtonState = 0;
return DisplayMode::PIN_VIEWER;
case (GAMEPAD_MASK_B4):
case (GAMEPAD_MASK_L2):
prevButtonState = 0;
return DisplayMode::STATS;
default:
Expand All @@ -42,6 +42,6 @@ void ConfigScreen::drawScreen() {
getRenderer()->drawText(0, 3, "Preview:");
getRenderer()->drawText(3, 4, " B1 > Button");
getRenderer()->drawText(3, 5, " B2 > Splash");
getRenderer()->drawText(3, 6, " B3 > Pin Viewer");
getRenderer()->drawText(3, 7, " B4 > Stats");
getRenderer()->drawText(3, 6, " R2 > Pin Viewer");
getRenderer()->drawText(3, 7, " L2 > Stats");
}

0 comments on commit f71ef96

Please sign in to comment.