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" {
24 alias <AE00> = <TLDE>; // Some geometries use AE00
85 // Microsoft keyboard extra keys
152 // Keys that are generated on Japanese keyboards
154 alias <HZTG> = <TLDE>; // Hankaku_Zenkaku toggle
155 <HKTG> = 208; // Hiragana_Katakana toggle
156 <AB11> = 211; // backslash/underscore
157 <XFER> = 129; // Henkan
158 <NFER> = 131; // Muhenkan
160 <EISU> = 210; // Alphanumeric mode on macintosh
161 <KANA> = 209; // Kana mode on macintosh
163 // Keys that are generated on Korean keyboards
165 alias <HNGL> = <FK16>; // Hangul Latin toggle
166 alias <HJCV> = <FK17>; // Hangul to Hanja conversion
168 // Extended keys that may be generated on "Internet" keyboards.
169 // These are not standardised, hence the meaningless names.
170 // The entries commented out are never generated because the raw codes
171 // in those positions are already used for well-defined keys.
173 alias <I01> = <XFER>;
175 alias <I03> = <NFER>;
177 alias <I05> = <AE13>;
200 // <I1C> = 156; <META>
201 // <I1D> = 157; <K59>
214 // <I2A> = 170; <K5A>
225 // <I35> = 181; <K5B>
226 // <I36> = 182; <K5D>
227 // <I37> = 183; <K5E>
228 // <I38> = 184; <K5F>
233 // <I3D> = 189; <K62>
234 // <I3E> = 190; <K63>
235 // <I3F> = 191; <K64>
236 // <I40> = 192; <K65>
237 // <I41> = 193; <K66>
242 // <I46> = 198; <K67>
243 // <I47> = 199; <K68>
244 // <I48> = 200; <K69>
245 // <I49> = 201; <K6A>
247 // <I4B> = 203; <K6B>
248 // <I4C> = 204; <K6C>
249 // <I4D> = 205; <K6D>
250 // <I4E> = 206; <K6E>
251 // <I4F> = 207; <K6F>
252 // <I50> = 208; <K70>
253 // <I51> = 209; <K71>
254 // <I52> = 210; <K72>
255 // <I53> = 211; <K73>
263 // <I5B> = 219; <K74>
264 // <I5C> = 220; <K75>
265 // <I5D> = 221; <K76>
301 // MacBooks generate 0x65 for the lower brightness key
304 // Codes generated for scancodes 0x59-0x5f, 0x62-0x76
305 <K59> = 157; // <I1D>
306 <K5A> = 170; // <I2A>
307 <K5B> = 181; // <I35>
308 alias <K5C> = <KPEQ>;
309 <K5D> = 182; // <I36>
310 <K5E> = 183; // <I37>
311 <K5F> = 184; // <I38>
312 <K62> = 189; // <I3D>
313 <K63> = 190; // <I3E>
314 <K64> = 191; // <I3F>
315 <K65> = 192; // <I40>
316 <K66> = 193; // <I41>
317 <K67> = 198; // <I46>
318 <K68> = 199; // <I47>
319 <K69> = 200; // <I48>
320 <K6A> = 201; // <I49>
321 <K6B> = 203; // <I4B>
322 <K6C> = 204; // <I4C>
323 <K6D> = 205; // <I4D>
324 <K6E> = 206; // <I4E>
325 <K6F> = 207; // <I4F>
326 alias <K70> = <HKTG>; // <I50>
327 alias <K71> = <KANA>; // <I51>
328 alias <K72> = <EISU>; // <I52>
329 alias <K73> = <AB11>; // <I53>
330 <K74> = 219; // <I5B>
331 <K75> = 220; // <I5C>
332 <K76> = 221; // <I5D>
334 // Solaris compatibility
336 alias <LMTA> = <LWIN>;
337 alias <RMTA> = <RWIN>;
338 alias <COMP> = <MENU>;
339 alias <POWR> = <I0C>;
340 alias <MUTE> = <I0D>;
341 alias <VOL-> = <I0E>;
342 alias <VOL+> = <I0F>;
343 alias <HELP> = <I10>;
344 alias <STOP> = <I11>;
345 alias <AGAI> = <I12>;
346 alias <PROP> = <I13>;
347 alias <UNDO> = <I14>;
348 alias <FRNT> = <I15>;
349 alias <COPY> = <I16>;
350 alias <OPEN> = <I17>;
351 alias <PAST> = <I18>;
352 alias <FIND> = <I19>;
355 // Other codes never generated. The XFree86 ddx never generates
357 // Thus we can use them as fake keys
358 <MDSW> = 93; // <U5D>
359 <LVL3> = 124; // <U7C>
360 <ALT> = 125; // <U7D>
361 <META> = 156; // <I1C>
362 <SUPR> = 127; // <U7F>
363 <HYPR> = 128; // <U80>
365 indicator 1 = "Caps Lock";
366 indicator 2 = "Num Lock";
367 indicator 3 = "Scroll Lock";
369 alias <ALGR> = <RALT>;
372 // What keyboard is this?
375 include "xfree86(xfree86)"
377 // There will be warnings from xkbcomp because of multiple definitions.
403 // For japanese 106 keyboard. by tsuka(tsuka@kawalab.dnj.ynu.ac.jp)
405 // All of the keycodes here are now in the basic "xfree86" set.
407 xkb_keycodes "jp106" {
408 include "xfree86(basic)"
413 // For brazilian ABNT2 keyboard. by Ricardo Y. Igarashi(iga@that.com.br)
414 xkb_keycodes "abnt2" {
415 include "xfree86(xfree86)"
419 // IBM ThinkPad Z60m/Z60t/Z61m/Z61t
420 xkb_keycodes "thinkpadz60" {
421 include "xfree86(xfree86)"