1 // $XdotOrg: xc/programs/xkbcomp/keycodes/xfree86,v 1.1.4.4 2004/03/05 13:41:30 eich Exp $
2 // $Xorg: xfree86,v 1.3 2000/08/17 19:54:37 cpqbld Exp $
7 // $XFree86: xc/programs/xkbcomp/keycodes/xfree86,v 3.28 2003/11/21 04:46:42 dawes Exp $
9 // "standard" XFree86 codes
10 // It seems that the "default" must be the first entry in the file.
12 default xkb_keycodes "xfree86" {
13 include "xfree86(basic)"
18 xkb_keycodes "basic" {
84 // Microsoft keyboard extra keys
151 // Keys that are generated on Japanese keyboards
153 alias <HZTG> = <TLDE>; // Hankaku_Zenkaku toggle
154 <HKTG> = 208; // Hiragana_Katakana toggle
155 <AB11> = 211; // backslash/underscore
156 <XFER> = 129; // Henkan
157 <NFER> = 131; // Muhenkan
159 <EISU> = 210; // Alphanumeric mode on macintosh
160 <KANA> = 209; // Kana mode on macintosh
162 // Keys that are generated on Korean keyboards
164 alias <HNGL> = <FK16>; // Hangul Latin toggle
165 alias <HJCV> = <FK17>; // Hangul to Hanja conversion
167 // Extended keys that may be generated on "Internet" keyboards.
168 // These are not standardised, hence the meaningless names.
169 // The entries commented out are never generated because the raw codes
170 // in those positions are already used for well-defined keys.
172 alias <I01> = <XFER>;
174 alias <I03> = <NFER>;
176 alias <I05> = <AE13>;
199 // <I1C> = 156; <META>
200 // <I1D> = 157; <K59>
213 // <I2A> = 170; <K5A>
224 // <I35> = 181; <K5B>
225 // <I36> = 182; <K5D>
226 // <I37> = 183; <K5E>
227 // <I38> = 184; <K5F>
232 // <I3D> = 189; <K62>
233 // <I3E> = 190; <K63>
234 // <I3F> = 191; <K64>
235 // <I40> = 192; <K65>
236 // <I41> = 193; <K66>
241 // <I46> = 198; <K67>
242 // <I47> = 199; <K68>
243 // <I48> = 200; <K69>
244 // <I49> = 201; <K6A>
246 // <I4B> = 203; <K6B>
247 // <I4C> = 204; <K6C>
248 // <I4D> = 205; <K6D>
249 // <I4E> = 206; <K6E>
250 // <I4F> = 207; <K6F>
251 // <I50> = 208; <K70>
252 // <I51> = 209; <K71>
253 // <I52> = 210; <K72>
254 // <I53> = 211; <K73>
262 // <I5B> = 219; <K74>
263 // <I5C> = 220; <K75>
264 // <I5D> = 221; <K76>
300 // MacBooks generate 0x65 for the lower brightness key
303 // Codes generated for scancodes 0x59-0x5f, 0x62-0x76
304 <K59> = 157; // <I1D>
305 <K5A> = 170; // <I2A>
306 <K5B> = 181; // <I35>
307 alias <K5C> = <KPEQ>;
308 <K5D> = 182; // <I36>
309 <K5E> = 183; // <I37>
310 <K5F> = 184; // <I38>
311 <K62> = 189; // <I3D>
312 <K63> = 190; // <I3E>
313 <K64> = 191; // <I3F>
314 <K65> = 192; // <I40>
315 <K66> = 193; // <I41>
316 <K67> = 198; // <I46>
317 <K68> = 199; // <I47>
318 <K69> = 200; // <I48>
319 <K6A> = 201; // <I49>
320 <K6B> = 203; // <I4B>
321 <K6C> = 204; // <I4C>
322 <K6D> = 205; // <I4D>
323 <K6E> = 206; // <I4E>
324 <K6F> = 207; // <I4F>
325 alias <K70> = <HKTG>; // <I50>
326 alias <K71> = <KANA>; // <I51>
327 alias <K72> = <EISU>; // <I52>
328 alias <K73> = <AB11>; // <I53>
329 <K74> = 219; // <I5B>
330 <K75> = 220; // <I5C>
331 <K76> = 221; // <I5D>
333 // Solaris compatibility
335 alias <LMTA> = <LWIN>;
336 alias <RMTA> = <RWIN>;
337 alias <COMP> = <MENU>;
338 alias <POWR> = <I0C>;
339 alias <MUTE> = <I0D>;
340 alias <VOL-> = <I0E>;
341 alias <VOL+> = <I0F>;
342 alias <HELP> = <I10>;
343 alias <STOP> = <I11>;
344 alias <AGAI> = <I12>;
345 alias <PROP> = <I13>;
346 alias <UNDO> = <I14>;
347 alias <FRNT> = <I15>;
348 alias <COPY> = <I16>;
349 alias <OPEN> = <I17>;
350 alias <PAST> = <I18>;
351 alias <FIND> = <I19>;
354 // Other codes never generated. The XFree86 ddx never generates
356 // Thus we can use them as fake keys
357 <MDSW> = 93; // <U5D>
358 <LVL3> = 124; // <U7C>
359 <ALT> = 125; // <U7D>
360 <META> = 156; // <I1C>
361 <SUPR> = 127; // <U7F>
362 <HYPR> = 128; // <U80>
364 indicator 1 = "Caps Lock";
365 indicator 2 = "Num Lock";
366 indicator 3 = "Scroll Lock";
368 alias <ALGR> = <RALT>;
371 // What keyboard is this?
374 include "xfree86(xfree86)"
376 // There will be warnings from xkbcomp because of multiple definitions.
402 // For japanese 106 keyboard. by tsuka(tsuka@kawalab.dnj.ynu.ac.jp)
404 // All of the keycodes here are now in the basic "xfree86" set.
406 xkb_keycodes "jp106" {
407 include "xfree86(basic)"
412 // For brazilian ABNT2 keyboard. by Ricardo Y. Igarashi(iga@that.com.br)
413 xkb_keycodes "abnt2" {
414 include "xfree86(xfree86)"