// $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 = 117; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 111; = 78; = 110; = 106; = 97; = 99; = 107; = 103; = 105; = 98; = 100; = 104; = 102; //JWE = 77; = 112; = 63; = 82; = 79; = 80; = 81; = 86; = 83; = 84; = 85; = 87; = 88; = 89; = 108; = 90; = 91; indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; alias = ; }; xkb_keycodes "102" { minimum= 8; maximum= 135; = 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; = 51; = 66; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 36; = 50; = 94; = 52; = 53; = 54; = 55; = 56; = 57; = 58; = 59; = 60; = 61; = 62; = 37; = 64; = 65; = 122; = 123; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 121; = 78; = 118; = 131; = 135; = 119; = 129; = 130; = 134; = 128; = 132; = 120; = 133; = 77; = 125; = 63; = 82; = 79; = 80; = 81; = 86; = 83; = 84; = 85; = 87; = 88; = 89; = 124; = 90; = 91; indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; alias = ; }; // For japanese 106 keyboard. by tsuka(tsuka@kawalab.dnj.ynu.ac.jp) xkb_keycodes "jp106" { minimum= 8; maximum= 134; = 49; // Hankaku_Zenkaku toggle = 10; = 11; = 12; = 13; = 14; = 15; = 16; = 17; = 18; = 19; = 20; = 21; = 133; = 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; = 51; = 50; = 52; = 53; = 54; = 55; = 56; = 57; = 58; = 59; = 60; = 61; = 123; = 62; = 64; = 131; //Muhenkan = 37; = 65; = 129; //Henkan = 120; //Hiragana_Katakana toggle = 109; = 113; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 111; = 78; = 110; = 106; = 97; = 99; = 107; = 103; = 105; = 98; = 100; = 104; = 102; = 77; = 112; = 63; = 82; = 79; = 80; = 81; = 86; = 83; = 84; = 85; = 87; = 88; = 89; = 108; = 90; = 91; indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; }; // For brazilian ABNT2 keyboard. by Ricardo Y. Igarashi(iga@that.com.br) xkb_keycodes "abnt2" { minimum= 8; maximum= 136; = 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; = 66; = 38; = 39; = 40; = 41; = 42; = 43; = 44; = 45; = 46; = 47; = 48; = 51; = 36; = 50; = 94; = 52; = 53; = 54; = 55; = 56; = 57; = 58; = 59; = 60; = 61; = 123; = 62; = 37; = 64; = 65; = 113; = 109; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 111; = 78; = 110; = 106; = 97; = 99; = 107; = 103; = 105; = 98; = 100; = 104; = 102; = 77; = 112; = 63; = 82; = 79; = 80; = 81; = 86; = 83; = 84; = 85; = 134; = 87; = 88; = 89; = 108; = 90; = 91; indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; alias = ; };