aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-27 18:03:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-27 18:03:41 +0000
commit26528f6a733d5f3c66eff403422a929470bec642 (patch)
tree3851c2c64950e8ced084e69aa360721961907319 /input.c
parentterminfo: add ka1, ka3, kc1 and kc3 (upper/lower left/right keypad keys) (diff)
input: add key mapping for XKB_KEY_KP_Decimal
Diffstat (limited to 'input.c')
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input.c b/input.c
index b4816f86..edfca2f7 100644
--- a/input.c
+++ b/input.c
@@ -461,6 +461,7 @@ keymap_data_for_sym(xkb_keysym_t sym, size_t *count)
case XKB_KEY_KP_Subtract: *count = ALEN(key_kp_subtract); return key_kp_subtract;
case XKB_KEY_KP_Add: *count = ALEN(key_kp_add); return key_kp_add;
case XKB_KEY_KP_Separator: *count = ALEN(key_kp_separator); return key_kp_separator;
+ case XKB_KEY_KP_Decimal: *count = ALEN(key_kp_decimal); return key_kp_decimal;
case XKB_KEY_KP_0: *count = ALEN(key_kp_0); return key_kp_0;
case XKB_KEY_KP_1: *count = ALEN(key_kp_1); return key_kp_1;
case XKB_KEY_KP_2: *count = ALEN(key_kp_2); return key_kp_2;