diff options
author | Keith Packard <keithp@keithp.com> | 2001-11-08 10:26:24 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2001-11-08 10:26:24 +0000 |
commit | 668c25a769044f06ed47a3145a11aceeb9574c9d (patch) | |
tree | e72ffa1abb1dec91fe8f4b776e364c9e5898825e | |
parent | e76c6b2acae5622dd2d4944cd6f3673dbc70a571 (diff) |
kdrive: fix ALTGR keyboard mappings
-rw-r--r-- | hw/kdrive/linux/keyboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/kdrive/linux/keyboard.c b/hw/kdrive/linux/keyboard.c index 2f8477d4c..ff73158bb 100644 --- a/hw/kdrive/linux/keyboard.c +++ b/hw/kdrive/linux/keyboard.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/programs/Xserver/hw/kdrive/linux/keyboard.c,v 1.8 2001/09/29 04:16:39 keithp Exp $ + * $XFree86: xc/programs/Xserver/hw/kdrive/linux/keyboard.c,v 1.9 2001/10/12 06:33:10 keithp Exp $ * * Copyright © 1999 Keith Packard * @@ -104,8 +104,8 @@ static unsigned char tbl[KD_MAX_WIDTH] = { 0, 1 << KG_SHIFT, - (1 << KG_ALT), - (1 << KG_ALT) | (1 << KG_SHIFT) + (1 << KG_ALTGR), + (1 << KG_ALTGR) | (1 << KG_SHIFT) }; static void @@ -289,7 +289,7 @@ readKernelMapping() switch (kbe.kb_value) { case K_ALTGR: - k[j] = XK_Alt_R; + k[j] = XK_Mode_switch; break; case K_ALT: k[j] = (kbe.kb_index == 0x64 ? |