1 // translation from evdev scancodes to something resembling xfree86 keycodes.
3 default xkb_keycodes "evdev" {
7 # Added for pc105 compatibility
39 alias <AC12> = <BKSL>;
73 // Microsoft keyboard extra keys
77 alias <MENU> = <COMP>;
147 // Keys that are generated on Japanese keyboards
149 //<HZTG> = 93; // Hankaku/Zenkakau toggle - not actually used
150 alias <HZTG> = <TLDE>;
151 <HKTG> = 101; // Hiragana/Katakana toggle
152 <AB11> = 97; // backslash/underscore
153 <HENK> = 100; // Henkan
154 <MUHE> = 102; // Muhenkan
156 <KATA> = 98; // Katakana
157 <HIRA> = 99; // Hiragana
158 <JPCM> = 103; // KPJPComma
159 //<RO> = 97; // Romaji
161 // Keys that are generated on Korean keyboards
163 <HNGL> = 130; // Hangul Latin toggle
164 <HJCV> = 131; // Hangul to Hanja conversion
166 // Solaris compatibility
168 alias <LMTA> = <LWIN>;
169 alias <RMTA> = <RWIN>;
186 // Extended keys that may be generated on "Internet" keyboards.
187 // evdev has standardize names for these.
189 <LNFD> = 109; // #define KEY_LINEFEED 101
190 <I120> = 120; // #define KEY_MACRO 112
191 <I126> = 126; // #define KEY_KPPLUSMINUS 118
192 <I128> = 128; // #define KEY_SCALE 120
193 <I129> = 129; // #define KEY_KPCOMMA 121
194 <I147> = 147; // #define KEY_MENU 139
195 <I148> = 148; // #define KEY_CALC 140
196 <I149> = 149; // #define KEY_SETUP 141
197 <I150> = 150; // #define KEY_SLEEP 142
198 <I151> = 151; // #define KEY_WAKEUP 143
199 <I152> = 152; // #define KEY_FILE 144
200 <I153> = 153; // #define KEY_SENDFILE 145
201 <I154> = 154; // #define KEY_DELETEFILE 146
202 <I155> = 155; // #define KEY_XFER 147
203 <I156> = 156; // #define KEY_PROG1 148
204 <I157> = 157; // #define KEY_PROG2 149
205 <I158> = 158; // #define KEY_WWW 150
206 <I159> = 159; // #define KEY_MSDOS 151
207 <I160> = 160; // #define KEY_COFFEE 152
208 <I161> = 161; // #define KEY_DIRECTION 153
209 <I162> = 162; // #define KEY_CYCLEWINDOWS 154
210 <I163> = 163; // #define KEY_MAIL 155
211 <I164> = 164; // #define KEY_BOOKMARKS 156
212 <I165> = 165; // #define KEY_COMPUTER 157
213 <I166> = 166; // #define KEY_BACK 158
214 <I167> = 167; // #define KEY_FORWARD 159
215 <I168> = 168; // #define KEY_CLOSECD 160
216 <I169> = 169; // #define KEY_EJECTCD 161
217 <I170> = 170; // #define KEY_EJECTCLOSECD 162
218 <I171> = 171; // #define KEY_NEXTSONG 163
219 <I172> = 172; // #define KEY_PLAYPAUSE 164
220 <I173> = 173; // #define KEY_PREVIOUSSONG 165
221 <I174> = 174; // #define KEY_STOPCD 166
222 <I175> = 175; // #define KEY_RECORD 167
223 <I176> = 176; // #define KEY_REWIND 168
224 <I177> = 177; // #define KEY_PHONE 169
225 <I178> = 178; // #define KEY_ISO 170
226 <I179> = 179; // #define KEY_CONFIG 171
227 <I180> = 180; // #define KEY_HOMEPAGE 172
228 <I181> = 181; // #define KEY_REFRESH 173
229 <I182> = 182; // #define KEY_EXIT 174
230 <I183> = 183; // #define KEY_MOVE 175
231 <I184> = 184; // #define KEY_EDIT 176
232 <I185> = 185; // #define KEY_SCROLLUP 177
233 <I186> = 186; // #define KEY_SCROLLDOWN 178
234 <I187> = 187; // #define KEY_KPLEFTPAREN 179
235 <I188> = 188; // #define KEY_KPRIGHTPAREN 180
236 <I189> = 189; // #define KEY_NEW 181
237 <I190> = 190; // #define KEY_REDO 182
238 <I208> = 208; // #define KEY_PLAYCD 200
239 <I209> = 209; // #define KEY_PAUSECD 201
240 <I210> = 210; // #define KEY_PROG3 202
241 <I211> = 211; // #define KEY_PROG4 203 conflicts with AB11
242 <I212> = 212; // #define KEY_DASHBOARD 204
243 <I213> = 213; // #define KEY_SUSPEND 205
244 <I214> = 214; // #define KEY_CLOSE 206
245 <I215> = 215; // #define KEY_PLAY 207
246 <I216> = 216; // #define KEY_FASTFORWARD 208
247 <I217> = 217; // #define KEY_BASSBOOST 209
248 <I218> = 218; // #define KEY_PRINT 210
249 <I219> = 219; // #define KEY_HP 211
250 <I220> = 220; // #define KEY_CAMERA 212
251 <I221> = 221; // #define KEY_SOUND 213
252 <I222> = 222; // #define KEY_QUESTION 214
253 <I223> = 223; // #define KEY_EMAIL 215
254 <I224> = 224; // #define KEY_CHAT 216
255 <I225> = 225; // #define KEY_SEARCH 217
256 <I226> = 226; // #define KEY_CONNECT 218
257 <I227> = 227; // #define KEY_FINANCE 219
258 <I228> = 228; // #define KEY_SPORT 220
259 <I229> = 229; // #define KEY_SHOP 221
260 <I230> = 230; // #define KEY_ALTERASE 222
261 <I231> = 231; // #define KEY_CANCEL 223
262 <I232> = 232; // #define KEY_BRIGHTNESSDOWN 224
263 <I233> = 233; // #define KEY_BRIGHTNESSUP 225
264 <I234> = 234; // #define KEY_MEDIA 226
265 <I235> = 235; // #define KEY_SWITCHVIDEOMODE 227
266 <I236> = 236; // #define KEY_KBDILLUMTOGGLE 228
267 <I237> = 237; // #define KEY_KBDILLUMDOWN 229
268 <I238> = 238; // #define KEY_KBDILLUMUP 230
269 <I239> = 239; // #define KEY_SEND 231
270 <I240> = 240; // #define KEY_REPLY 232
271 <I241> = 241; // #define KEY_FORWARDMAIL 233
272 <I242> = 242; // #define KEY_SAVE 234
273 <I243> = 243; // #define KEY_DOCUMENTS 235
274 <I244> = 244; // #define KEY_BATTERY 236
275 <I245> = 245; // #define KEY_BLUETOOTH 237
276 <I246> = 246; // #define KEY_WLAN 238
277 <I247> = 247; // #define KEY_UWB 239
278 <I248> = 248; // #define KEY_UNKNOWN 240
279 <I249> = 249; // #define KEY_VIDEO_NEXT 241
280 <I250> = 250; // #define KEY_VIDEO_PREV 242
281 <I251> = 251; // #define KEY_BRIGHTNESS_CYCLE 243
282 <I252> = 252; // #define KEY_BRIGHTNESS_ZERO 244
283 <I253> = 253; // #define KEY_DISPLAY_OFF 245
285 // Fake keycodes for virtual keys
293 indicator 1 = "Caps Lock";
294 indicator 2 = "Num Lock";
295 indicator 3 = "Scroll Lock";
296 indicator 4 = "Compose";
297 indicator 5 = "Kana";
298 indicator 6 = "Sleep";
299 indicator 7 = "Suspend";
300 indicator 8 = "Mute";
301 indicator 9 = "Misc";
302 indicator 10 = "Mail";
303 indicator 11 = "Charging";
305 alias <ALGR> = <RALT>;
307 // For Brazilian ABNT2
308 alias <KPPT> = <I129>;
312 xkb_keycodes "pc98" {
313 include "evdev(evdev)"