aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-02-12 06:53:30 +0000
committerRichard M. Stallman1996-02-12 06:53:30 +0000
commite376f90dd2a33e47fafdfe21abca5d4984fd3006 (patch)
tree1a940d3f622d0f082701470fa29f49304c9e09d7 /src
parent521736d11c699e81fc47760fd4471d142abbafb6 (diff)
downloademacs-e376f90dd2a33e47fafdfe21abca5d4984fd3006.tar.gz
emacs-e376f90dd2a33e47fafdfe21abca5d4984fd3006.zip
[HAVE_NTGUI] (lispy_function_keys): Add mappings
for keypad function keys and new PC optional keys.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5126a4f2944..af1fb97d1a3 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3153,9 +3153,9 @@ char *lispy_function_keys[] =
3153 0, 0, 0, 0, 0, 0, 0, 0, 0, 3153 0, 0, 0, 0, 0, 0, 0, 0, 0,
3154 0, 0, 0, 0, 0, 0, 0, 0, 3154 0, 0, 0, 0, 0, 0, 0, 0,
3155 3155
3156 0, /* VK_LWIN 0x5B */ 3156 "lwindow", /* VK_LWIN 0x5B */
3157 0, /* VK_RWIN 0x5C */ 3157 "rwindow", /* VK_RWIN 0x5C */
3158 0, /* VK_APPS 0x5D */ 3158 "apps", /* VK_APPS 0x5D */
3159 3159
3160 0, 0, /* 0x5E .. 0x5F */ 3160 0, 0, /* 0x5E .. 0x5F */
3161 3161
@@ -3206,10 +3206,21 @@ char *lispy_function_keys[] =
3206 "kp-numlock", /* VK_NUMLOCK 0x90 */ 3206 "kp-numlock", /* VK_NUMLOCK 0x90 */
3207 "scroll", /* VK_SCROLL 0x91 */ 3207 "scroll", /* VK_SCROLL 0x91 */
3208 3208
3209 0, 0, 0, 0, 0, /* 0x92 .. 0x96 */ 3209 "kp-space", /* VK_NUMPAD_CLEAR 0x92 */
3210 0, 0, 0, 0, 0, /* 0x97 .. 0x9B */ 3210 "kp-enter", /* VK_NUMPAD_ENTER 0x93 */
3211 0, 0, 0, 0, /* 0x9C .. 0x9F */ 3211 "kp-prior", /* VK_NUMPAD_PRIOR 0x94 */
3212 3212 "kp-next", /* VK_NUMPAD_NEXT 0x95 */
3213 "kp-end", /* VK_NUMPAD_END 0x96 */
3214 "kp-home", /* VK_NUMPAD_HOME 0x97 */
3215 "kp-left", /* VK_NUMPAD_LEFT 0x98 */
3216 "kp-up", /* VK_NUMPAD_UP 0x99 */
3217 "kp-right", /* VK_NUMPAD_RIGHT 0x9A */
3218 "kp-down", /* VK_NUMPAD_DOWN 0x9B */
3219 "kp-insert", /* VK_NUMPAD_INSERT 0x9C */
3220 "kp-delete", /* VK_NUMPAD_DELETE 0x9D */
3221
3222 0, 0, /* 0x9E .. 0x9F */
3223
3213 /* 3224 /*
3214 * VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys. 3225 * VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys.
3215 * Used only as parameters to GetAsyncKeyState() and GetKeyState(). 3226 * Used only as parameters to GetAsyncKeyState() and GetKeyState().