]> git.eshelyaron.com Git - emacs.git/commitdiff
Update Android keysym list
authorPo Lu <luangruo@yahoo.com>
Wed, 11 Oct 2023 08:58:01 +0000 (16:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 11 Oct 2023 08:58:35 +0000 (16:58 +0800)
* src/keyboard.c (lispy_function_keys): Introduce entries for
scroll lock, num lock, and input method keys.

src/keyboard.c

index f756f163e874d4a5c2bcc9681ed22b3c40850e68..76dec637cb12eb23dcbf4b5b774462f0cc2e8c93 100644 (file)
@@ -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