// "standard" XFree86 codes // It seems that the "default" must be the first entry in the file. default xkb_keycodes "xfree86" { include "xfree86(basic)" = 51; alias = ; = 94; }; xkb_keycodes "basic" { minimum= 8; maximum= 255; = 49; alias = ; // Some geometries use AE00 = 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; = 64; = 37; = 65; = 109; = 113; // Microsoft keyboard extra keys = 115; = 116; = 117; = 9; = 67; = 68; = 69; = 70; = 71; = 72; = 73; = 74; = 75; = 76; = 95; = 96; = 111; = 92; = 78; = 110; = 114; = 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; = 126; = 118; = 119; = 120; = 121; = 122; = 123; // Keys that are generated on Japanese keyboards alias = ; // Hankaku_Zenkaku toggle = 208; // Hiragana_Katakana toggle = 211; // backslash/underscore = 129; // Henkan = 131; // Muhenkan = 133; // Yen = 210; // Alphanumeric mode on macintosh = 209; // Kana mode on macintosh // Keys that are generated on Korean keyboards alias = ; // Hangul Latin toggle alias = ; // Hangul to Hanja conversion // Extended keys that may be generated on "Internet" keyboards. // These are not standardised, hence the meaningless names. // The entries commented out are never generated because the raw codes // in those positions are already used for well-defined keys. alias = ; = 130; alias = ; = 132; alias = ; = 134; = 135; = 136; = 137; = 138; = 139; = 140; = 141; = 142; = 143; = 144; = 145; = 146; = 147; = 148; = 149; = 150; = 151; = 152; = 153; = 154; = 155; // = 156; // = 157; = 158; = 159; = 160; = 161; = 162; = 163; = 164; = 165; = 166; = 167; = 168; = 169; // = 170; = 171; = 172; = 173; = 174; = 175; = 176; = 177; = 178; = 179; = 180; // = 181; // = 182; // = 183; // = 184; = 185; = 186; = 187; = 188; // = 189; // = 190; // = 191; // = 192; // = 193; = 194; = 195; = 196; = 197; // = 198; // = 199; // = 200; // = 201; = 202; // = 203; // = 204; // = 205; // = 206; // = 207; // = 208; // = 209; // = 210; // = 211; = 212; = 213; = 214; = 215; = 216; = 217; = 218; // = 219; // = 220; // = 221; = 222; = 223; = 224; = 225; = 226; = 227; = 228; = 229; = 230; = 231; = 232; = 233; = 234; = 235; = 236; = 237; = 238; = 239; = 240; = 241; = 242; = 243; = 244; = 245; = 246; = 247; = 248; = 249; = 250; = 251; = 252; = 253; = 254; = 255; // MacBooks generate 0x65 for the lower brightness key = 101; // Required for apple/logitech_g15 keyboard = 93; // Codes generated for scancodes 0x59-0x5f, 0x62-0x76 = 157; // = 170; // = 181; // alias = ; = 182; // = 183; // = 184; // = 189; // = 190; // = 191; // = 192; // = 193; // = 198; // = 199; // = 200; // = 201; // = 203; // = 204; // = 205; // = 206; // = 207; // alias = ; // alias = ; // alias = ; // alias = ; // = 219; // = 220; // = 221; // // Solaris compatibility alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; alias = ; // Other codes never generated. The XFree86 ddx never generates // these codes. // Thus we can use them as fake keys = 8; = 124; // = 125; // = 156; // = 127; // = 128; // indicator 1 = "Caps Lock"; indicator 2 = "Num Lock"; indicator 3 = "Scroll Lock"; alias = ; // For Brazilian ABNT2 alias = ; }; // What keyboard is this? xkb_keycodes "102" { include "xfree86(xfree86)" // There will be warnings from xkbcomp because of multiple definitions. = 122; = 123; = 121; = 118; = 131; = 135; = 119; = 129; = 130; = 134; = 128; = 132; = 120; = 133; = 125; = 124; }; // IBM ThinkPad Z60m/Z60t/Z61m/Z61t xkb_keycodes "thinkpadz60" { include "xfree86(xfree86)" = 227; };