Use only left button for screen cycling

This commit is contained in:
Jasper Blanckenburg 2023-11-18 14:52:53 +01:00
parent b8d8d70bfb
commit 8905d173b3
1 changed files with 5 additions and 2 deletions

View File

@ -36,8 +36,11 @@ void ui_thread_entry(ULONG _) {
button_states[i] = state;
}
}
if ((press_event == 1 || press_event == 2) && button_states[1] &&
button_states[2]) {
// FIXME: The right button doesn't work :(
// if ((press_event == 1 || press_event == 2) && button_states[1] &&
// button_states[2]) {
if (press_event == 1 && button_states[1]) {
tx_event_flags_set(&gui_update_events, GUI_UPDATE_NEXT_SCREEN, TX_OR);
}
vehicle_broadcast_buttons(button_states);