chris_c
Member
- Joined
- Jun 25, 2010
- Messages
- 393
- Age
- 56
I'd just compiled the key map for the event system on my gles python module (plug plug )
When it occurred to me that its also useful info for people making custom keymaps
keycode xxx A a A a
in a file would make the key code xxx produce the A character, you'd use this file with xmodmap
When it occurred to me that its also useful info for people making custom keymaps
keycode xxx A a A a
in a file would make the key code xxx produce the A character, you'd use this file with xmodmap
Code:
These are untranslated raw key event codes as received from the
xlib event system
Shift, control and alt do not modify key values
The only key that does is the FN key, it generates no code on
its own it can only be detected when certain keys are also down
- = same value not modified by FN
x = no value (probably consumed before it gets to Xlib)
KEY code with
LABEL code FN key
1 10 67
2 11 68
3 12 69
4 13 70
5 14 71
6 15 72
7 16 73
8 17 74
9 18 75
0 19 76
DEL 22 118
UP 111 -
LEFT 113 -
RIGHT 114 -
DOWN 116 -
ALT 64 -
CTRL 37 -
PAND 147 -
A BUT 110 -
Y BUT 112 -
B BUT 115 -
X BUT 117 -
Q 24 9
W 25 198
E 26 34
R 27 35
T 28 195
Y 29 193
U 30 x
I 31 x
O 32 95
P 33 96
SHIFT 50 66
A 38 48
S 39 197
D 40 82
F 41 86
G 42 21
H 43 49
J 44 191
K 45 196
L 46 132
ENTER 36 -
, 59 47
. 60 199
Z 52 61
X 53 222
C 54 51
V 55 194
B 56 192
N 57 200
M 58 201
SPACE 65 23
LSHLDR 62 -
RSHLDR 105 -