From 6265b7195d10150ad6948f45f4e33869be580d1c Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 11 Oct 2023 16:58:01 +0800 Subject: [PATCH] Update Android keysym list * src/keyboard.c (lispy_function_keys): Introduce entries for scroll lock, num lock, and input method keys. --- src/keyboard.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index f756f163e87..76dec637cb1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -4999,6 +4999,7 @@ const char *const lispy_function_keys[] = function keys that Emacs recognizes. */ [111] = "escape", [112] = "delete", + [116] = "scroll", [120] = "sysrq", [121] = "break", [122] = "home", @@ -5019,15 +5020,19 @@ const char *const lispy_function_keys[] = [140] = "f10", [141] = "f11", [142] = "f12", + [143] = "kp-numlock", [160] = "kp-ret", [164] = "volume-mute", + [165] = "info", [19] = "up", [20] = "down", + [211] = "zenkaku-hankaku", [213] = "muhenkan", [214] = "henkan", [215] = "hiragana-katakana", [218] = "kana", [21] = "left", + [223] = "sleep", [22] = "right", [23] = "select", [24] = "volume-up", @@ -5035,6 +5040,7 @@ const char *const lispy_function_keys[] = [25] = "volume-down", [268] = "kp-up-left", [269] = "kp-down-left", + [26] = "power", [270] = "kp-up-right", [271] = "kp-down-right", [272] = "media-skip-forward", @@ -5042,7 +5048,9 @@ const char *const lispy_function_keys[] = [277] = "cut", [278] = "copy", [279] = "paste", + [285] = "browser-refresh", [28] = "clear", + [300] = "XF86Forward", [4] = "XF86Back", [61] = "tab", [66] = "return", @@ -5056,6 +5064,7 @@ const char *const lispy_function_keys[] = [89] = "media-rewind", [92] = "prior", [93] = "next", + [95] = "mode-change", }; #elif defined HAVE_NTGUI -- 2.39.2