1
0
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:
Thomas Devoogdt 2025-01-08 05:07:46 +01:00 committed by GitHub
parent a97ab9763e
commit 31bd7b61ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;