mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
feat(libinput): map LV_KEY_{ESC} (#7544)
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
This commit is contained in:
parent
a97ab9763e
commit
31bd7b61ba
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user