input: track num lock state

This commit is contained in:
Daniel Eklöf 2020-11-11 18:28:13 +01:00
parent 2382d6b448
commit bdaf20ba71
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 6 additions and 0 deletions

View file

@ -163,6 +163,7 @@ struct seat {
xkb_mod_index_t mod_alt;
xkb_mod_index_t mod_ctrl;
xkb_mod_index_t mod_meta;
xkb_mod_index_t mod_num;
xkb_keycode_t key_arrow_up;
xkb_keycode_t key_arrow_down;
@ -172,6 +173,7 @@ struct seat {
bool alt;
bool ctrl;
bool meta;
bool num;
struct {
tll(struct key_binding_normal) key;