menu: drop left/right keys navigation (#510)

Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
its your bedtime 2021-06-07 18:55:31 +03:00 committed by GitHub
parent 3c6f236df3
commit 22ffd6204b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -253,10 +253,6 @@ int32_t menu_task(void* p) {
menu_down(menu);
} else if(m.type == MenuMessageTypeOk) {
menu_ok(menu);
} else if(m.type == MenuMessageTypeLeft) {
menu_back(menu);
} else if(m.type == MenuMessageTypeRight) {
menu_ok(menu);
} else if(m.type == MenuMessageTypeBack) {
menu_back(menu);
} else if(m.type == MenuMessageTypeIdle) {

View File

@ -53,10 +53,6 @@ void menu_event_input_callback(InputEvent* input_event, void* context) {
message.type = MenuMessageTypeUp;
} else if(input_event->key == InputKeyDown) {
message.type = MenuMessageTypeDown;
} else if(input_event->key == InputKeyRight) {
message.type = MenuMessageTypeRight;
} else if(input_event->key == InputKeyLeft) {
message.type = MenuMessageTypeLeft;
} else if(input_event->key == InputKeyOk) {
message.type = MenuMessageTypeOk;
} else if(input_event->key == InputKeyBack) {