Change screens if both left and right are pressed
This commit is contained in:
@ -10,7 +10,7 @@ bool STWButtonController::sample(uint8_t &key) {
|
||||
ButtonMessage msg;
|
||||
if (tx_queue_receive(&gui_button_queue, &msg, TX_NO_WAIT) == TX_SUCCESS) {
|
||||
switch (msg.kind) {
|
||||
case UMK_BTN_RELEASED:
|
||||
case UMK_BTN_PRESSED:
|
||||
key = KEY_BTN1 + msg.number;
|
||||
break;
|
||||
case UMK_ENC_CW: {
|
||||
|
||||
Reference in New Issue
Block a user