Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Rauch
xserver
Commits
fb8b5827
Commit
fb8b5827
authored
Oct 06, 2000
by
Keith Packard
Browse files
kdrive: support jgs new linux keysyms
parent
15d45ffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
hw/kdrive/linux/keyboard.c
View file @
fb8b5827
...
...
@@ -26,6 +26,7 @@
#include "kkeymap.h"
#include <linux/keyboard.h>
#include <linux/kd.h>
#define XK_PUBLISHING
#include <X11/keysym.h>
#include <termios.h>
...
...
@@ -330,6 +331,20 @@ readKernelMapping()
k
[
j
]
=
XK_Shift_Lock
;
break
;
#ifdef KT_X
case
KT_X
:
/* depends on new keyboard symbols in file linux/keyboard.h */
if
(
kbe
.
kb_value
==
K_XMENU
)
k
[
j
]
=
XK_Menu
;
if
(
kbe
.
kb_value
==
K_XTELEPHONE
)
k
[
j
]
=
XK_telephone
;
break
;
#endif
#ifdef KT_XF
case
KT_XF
:
/* special linux keysyms which map directly to XF86 keysyms */
k
[
j
]
=
(
kbe
.
kb_value
&
0xFF
)
+
0x1008FF00
;
break
;
#endif
default:
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment