Use only left button for screen cycling
This commit is contained in:
parent
b8d8d70bfb
commit
8905d173b3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue