1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
# Linux-specific (and language-independent) keys
#
# This file describes function keys, console switching keys,
# keypad, cursor keys, and SysRq, ScrollLock, Pause
#
# It does not use the AltGr modifier, so that the user can opt
# to have both Alt keys produce the same effect.
# As a consequence, the Hex_* keys are missing, as are
# control altgr keycode 83 = Boot
# control altgr keycode 111 = Boot
#
# One culture-specific item that will be overridden in many keymaps
# is the KP_Period: many countries have a KP_Comma instead.
#
# One user-preference item will be the function of the Delete key.
#
# Old keyboards have 10 function keys, and keymaps have
# sometimes used shift+F1 = F11, and sometimes shift+F1 = F13.
# Here we assume an enhanced keyboard (with 12 function keys).
#
plain keycode 59 = F1
plain keycode 60 = F2
plain keycode 61 = F3
plain keycode 62 = F4
plain keycode 63 = F5
plain keycode 64 = F6
plain keycode 65 = F7
plain keycode 66 = F8
plain keycode 67 = F9
plain keycode 68 = F10
plain keycode 87 = F11
plain keycode 88 = F12
shift keycode 59 = F13
shift keycode 60 = F14
shift keycode 61 = F15
shift keycode 62 = F16
shift keycode 63 = F17
shift keycode 64 = F18
shift keycode 65 = F19
shift keycode 66 = F20
shift keycode 67 = F21
shift keycode 68 = F22
shift keycode 87 = F23
shift keycode 88 = F24
control keycode 59 = F25
control keycode 60 = F26
control keycode 61 = F27
control keycode 62 = F28
control keycode 63 = F29
control keycode 64 = F30
control keycode 65 = F31
control keycode 66 = F32
control keycode 67 = F33
control keycode 68 = F34
control keycode 87 = F35
control keycode 88 = F36
#
# The canonical assignment for F37-F48 uses
# control shift keycode 59 = F37
# etc. If you want that, load linux-keys-extd.inc
#
# Both Alt+Fn and Control+Alt+Fn switch to Console n
# (in order to please Linux / dosemu / X).
# Here Consoles 1..12. For 13..24 load linux-keys-extd.inc
#
alt keycode 59 = Console_1
alt keycode 60 = Console_2
alt keycode 61 = Console_3
alt keycode 62 = Console_4
alt keycode 63 = Console_5
alt keycode 64 = Console_6
alt keycode 65 = Console_7
alt keycode 66 = Console_8
alt keycode 67 = Console_9
alt keycode 68 = Console_10
alt keycode 87 = Console_11
alt keycode 88 = Console_12
control alt keycode 59 = Console_1
control alt keycode 60 = Console_2
control alt keycode 61 = Console_3
control alt keycode 62 = Console_4
control alt keycode 63 = Console_5
control alt keycode 64 = Console_6
control alt keycode 65 = Console_7
control alt keycode 66 = Console_8
control alt keycode 67 = Console_9
control alt keycode 68 = Console_10
control alt keycode 87 = Console_11
control alt keycode 88 = Console_12
#
# Keypad keys
#
keycode 69 = Num_Lock
keycode 98 = KP_Divide
keycode 55 = KP_Multiply
keycode 74 = KP_Subtract
keycode 78 = KP_Add
keycode 96 = KP_Enter
#
keycode 71 = KP_7
keycode 72 = KP_8
keycode 73 = KP_9
keycode 75 = KP_4
keycode 76 = KP_5
keycode 77 = KP_6
keycode 79 = KP_1
keycode 80 = KP_2
keycode 81 = KP_3
keycode 82 = KP_0
#
keycode 83 = KP_Period # or KP_Comma
control alt keycode 83 = Boot
#
alt keycode 71 = Ascii_7
alt keycode 72 = Ascii_8
alt keycode 73 = Ascii_9
alt keycode 75 = Ascii_4
alt keycode 76 = Ascii_5
alt keycode 77 = Ascii_6
alt keycode 79 = Ascii_1
alt keycode 80 = Ascii_2
alt keycode 81 = Ascii_3
alt keycode 82 = Ascii_0
#
# The four cursor keys
#
keycode 103 = Up
keycode 105 = Left
keycode 106 = Right
keycode 108 = Down
alt keycode 103 = KeyboardSignal
alt keycode 105 = Decr_Console
alt keycode 106 = Incr_Console
#
# The six edit keys
#
keycode 110 = Insert
keycode 102 = Home # Find
keycode 104 = PageUp # Prior
keycode 111 = Remove
keycode 107 = End # Select
keycode 109 = PageDown # Next
shift keycode 104 = Scroll_Backward
shift keycode 109 = Scroll_Forward
control alt keycode 111 = Boot
#
# The three system keys
#
keycode 84 = Last_Console # Alt+SysRq/PrintScrn
keycode 99 = Control_backslash # SysRq/PrintScrn
plain keycode 70 = Scroll_Lock
shift keycode 70 = Show_Memory
control keycode 70 = Show_State
alt keycode 70 = Show_Registers
keycode 101 = Break # Ctrl+Break/Pause
keycode 119 = Pause # Break/Pause
keycode 100 = AltGr
altgr keycode 70 = Show_Registers
alt keycode 70 = Scroll_Lock
control altgr keycode 83 = Boot
control altgr keycode 111 = Boot
# Hex keypad keys (for giving a Unicode value in 4 hex digits)
# Follow lt.map and assign Hex_A .. Hex_F to keypad border.
altgr keycode 55 = Hex_C
altgr keycode 69 = Hex_A
altgr keycode 71 = Hex_7
altgr keycode 72 = Hex_8
altgr keycode 73 = Hex_9
altgr keycode 74 = Hex_D
altgr keycode 75 = Hex_4
altgr keycode 76 = Hex_5
altgr keycode 77 = Hex_6
altgr keycode 78 = Hex_E
altgr keycode 79 = Hex_1
altgr keycode 80 = Hex_2
altgr keycode 81 = Hex_3
altgr keycode 82 = Hex_0
altgr keycode 96 = Hex_F
altgr keycode 98 = Hex_B
|