Micro patch for AltGr key on german keyboards.

This commit is contained in:
David Faure 1998-11-22 12:22:07 +00:00 committed by Alexandre Julliard
parent 4658e4d8dd
commit 6c6e3e484a
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ static void KEYBOARD_Init(void)
/* Now store one keycode for each modifier. Used to simulate keypresses. */ /* Now store one keycode for each modifier. Used to simulate keypresses. */
kcControl = TSXKeysymToKeycode(display, XK_Control_L); kcControl = TSXKeysymToKeycode(display, XK_Control_L);
kcAlt = TSXKeysymToKeycode(display, XK_Alt_L); kcAlt = TSXKeysymToKeycode(display, XK_Alt_L);
if (!kcAlt) kcAlt = TSXKeysymToKeycode(display, XK_Meta_L);
kcShift = TSXKeysymToKeycode(display, XK_Shift_L); kcShift = TSXKeysymToKeycode(display, XK_Shift_L);
kcNumLock = TSXKeysymToKeycode(display, XK_Num_Lock); kcNumLock = TSXKeysymToKeycode(display, XK_Num_Lock);
kcCapsLock = TSXKeysymToKeycode(display, XK_Caps_Lock); kcCapsLock = TSXKeysymToKeycode(display, XK_Caps_Lock);