// $XConsortium: xfree86 /main/4 1996/08/31 12:16:59 kaleb $
// $XFree86: xc/programs/xkbcomp/keycodes/xfree86,v 3.3.2.1 1999/06/21 09:45:28 hohndel Exp $
default xkb_keycodes "xfree86" {
minimum= 8;
maximum= 134;
// Keycodes for a ThinkPad 600X (probably maps to other TPs as well...)
//
// The right way to do this is to put these definitions in a separate file
// or a different section of this file, but when I tried to make it a separate
// file named "thinkpad" or make it a separate section within this file named
// "thinkpad" (making what looked like appropriate changes to xkb/keycodes.dir
// each time) and setting XkbKeyCodes in /etc/X11/XF86Config to "thinkpad",
// it became clear that X was using the regular xfree86 values rather than
// what I'd entered. I'm more interested in getting this to work than in
// getting it to work in an architecturally proper manner, so...
//
// The information in this portion of the file apparently maps raw keyboard
// scan codes (which you can get from xev) to symbolic names that are subse-
// quently used in ???
//
// If you set = 11 and = 10, the '1' and '2' keys swap their
// identities ('!' and '@' are swapped too...)
//
= 49;
= 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;
= 66;
= 38;
= 39;
= 40;
= 41;
= 42;
= 43;
= 44;
= 45;
= 46;
= 47;
= 48;
= 50;
= 52;
= 53;
= 54;
= 55;
= 56;
= 57;
= 58;
= 59;
= 60;
= 61;
= 62;
= 51;
//JWE = 94;
= 64;
= 37;
= 65;
= 109;
= 113;
// Microsoft keyboard extra keys
//JWE = 115;
//JWE = 116;
//JWE