Skip to content

Commit

Permalink
feat(libinput): map LV_KEY_{ESC} (lvgl#7544)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Devoogdt <[email protected]>
  • Loading branch information
ThomasDevoogdt authored Jan 8, 2025
1 parent a97ab97 commit 31bd7b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/drivers/libinput/lv_libinput.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,9 @@ static void _read_keypad(lv_libinput_t * dsc, struct libinput_event * event)
case KEY_END:
evt->key_val = LV_KEY_END;
break;
case KEY_ESC:
evt->key_val = LV_KEY_ESC;
break;
default:
evt->key_val = 0;
break;
Expand Down

0 comments on commit 31bd7b6

Please sign in to comment.