--- xc/programs/xkbcomp/rules/xorg 2005-08-12 07:50:44.000000000 -0300 +++ xc-new/programs/xkbcomp/rules/xorg 2006-02-07 15:03:38.000000000 -0200 @@ -52,6 +52,8 @@ pc98 = xfree98(pc98) abnt2 = xfree86(abnt2) jp106 = xfree86(jp106) + evdev = evdev + evdev_abnt2 = evdev(abnt2) * = xfree86 ! layout[1] = keycodes --- xc/programs/xkbcomp/rules/xorg.lst 2005-08-12 07:50:44.000000000 -0300 +++ xc-new/programs/xkbcomp/rules/xorg.lst 2006-02-07 15:03:52.000000000 -0200 @@ -6,6 +6,8 @@ pc102 Generic 102-key (Intl) PC pc104 Generic 104-key PC pc105 Generic 105-key (Intl) PC + evdev Evdev based keyboard + evdev_abnt2 Evdev based keyboard - Brazilian ABNT2 dell101 Dell 101-key PC everex Everex STEPnote flexpro Keytronic FlexPro --- xc/programs/xkbcomp/rules/xorg.xml 2005-08-12 08:38:38.000000000 -0300 +++ xc-new/programs/xkbcomp/rules/xorg.xml 2006-02-07 15:04:11.000000000 -0200 @@ -4,6 +4,17 @@ + evdev + Evdev based keyboard + + + + + evdev_abnt2 + Evdev based keyboard - Brazilian ABNT2 + + + pc101 Generic 101-key PC Generies 101-sleutel PC --- xc/programs/xkbcomp/keycodes/evdev 1969-12-31 21:00:00.000000000 -0300 +++ xc-new/programs/xkbcomp/keycodes/evdev 2006-02-07 14:03:28.000000000 -0200 @@ -0,0 +1,363 @@ +// translation from evdev scancodes to something resembling xfree86 keycodes. + +default xkb_keycodes "evdev" { + minimum = 8; + maximum = 255; + + = 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; + = 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; + = 105; + = 108; + // Microsoft keyboard extra keys + = 133; + = 134; + = 135; + + = 9; + = 67; + = 68; + = 69; + = 70; + = 71; + = 72; + = 73; + = 74; + = 75; + = 76; + = 95; + = 96; + + = 107; + // = 107; + = 78; + = 127; + // = 419; + + = 118; + = 110; + = 112; + = 119; + = 115; + = 117; + + = 111; + = 113; + = 116; + = 114; + + = 77; + = 106; + = 63; + = 82; + + = 79; + = 80; + = 81; + = 86; + + = 83; + = 84; + = 85; + + = 87; + = 88; + = 89; + = 104; + + = 90; + = 91; + // = 126; + + = 191; + = 192; + = 193; + = 194; + = 195; + // = 123; + + // Keys that are generated on Japanese keyboards + + // alias = ; // Hankaku_Zenkaku toggle + // = 85; // Hankaku/Zenkakau toggle + // = 93; // Hiragana/Katakana toggle + // = 211; // backslash/underscore + // = 92; // Henkan + // = 94; // Muhenkan + // = 124; // Yen + + // Keys that are generated on Korean keyboards + + // alias = ; // Hangul Latin toggle + // alias = ; // Hangul to Hanja conversion + = 130; + = 131; + + // 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. + + // evdev does standardize names for these though. comment them + // all out for now. + + // 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; + + // 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 = ; // + // = 209; // + // = 210; // + // alias = ; // + // = 219; // + // = 220; // + // = 221; // + + // Solaris compatibility + + // 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 + // = 93; // + // = 124; // + // = 125; // + // = 156; // + // = 127; // + // = 128; // + + indicator 1 = "Caps Lock"; + indicator 2 = "Num Lock"; + indicator 3 = "Scroll Lock"; + + alias = ; +}; + +xkb_keycodes "abnt2" { + include "evdev" + = 94; + = 51; + = 129; + = 97; +}; --- xc/programs/xkbcomp/keycodes/Imakefile 2004-04-23 23:54:51.000000000 +0400 +++ xc-new/programs/xkbcomp/keycodes/Imakefile 2006-01-23 03:21:12.000000000 +0300 @@ -8,7 +8,7 @@ #define IHaveSubdirs DATAFILES = README amiga ataritt fujitsu hp ibm macintosh sony sun \ - xfree86 xfree98 powerpcps2 aliases + xfree86 xfree98 powerpcps2 aliases evdev SUBDIRS = digital sgi all:: --- xc/programs/xkbcomp/keymap/Imakefile 2004-04-23 23:54:52.000000000 +0400 +++ xc-new/programs/xkbcomp/keymap/Imakefile 2006-01-23 03:21:12.000000000 +0300 @@ -7,7 +7,7 @@ #define IHaveSubdirs - DATAFILES = README amiga ataritt macintosh sony xfree86 xfree98 + DATAFILES = README amiga ataritt macintosh sony xfree86 xfree98 evdev SUBDIRS = digital sgi sun all:: --- xc/programs/xkbcomp/keymap/evdev 1969-12-31 21:00:00.000000000 -0300 +++ xc-new/programs/xkbcomp/keymap/evdev 2006-02-07 12:36:29.000000000 -0200 @@ -0,0 +1,362 @@ +// $XFree86: xc/programs/xkbcomp/keymap/evdev,v 3.30 2003/04/03 16:34:49 dawes Exp $ + + +default xkb_keymap "us" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)" }; + xkb_geometry { include "pc" }; +}; + +// "ar" addition by Arabeyes Team, +xkb_keymap "ar" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ar" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "be" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+be" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "bg" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+bg" }; + xkb_geometry { include "pc(pc102)" }; +}; +// us_intl and br by Ricardo Y. Igarashi (iga@that.com.br) +xkb_keymap "br" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc101)+br" }; + xkb_geometry { include "pc(abnt2)" }; +}; +// cz and sk keymaps by Kamil Toman (ktoman@email.cz) +// are designed to replace old czechoslovakian and czsk keyboards +// and their prog variants. Those are now obsolete and should not be used anymore. +xkb_keymap "cz" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+cz" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "cz_qwerty" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+cz_qwerty" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "de" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+de" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "de_CH" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+de_CH" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "dk" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+dk" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "dvorak" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+dvorak" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "en_US" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "es" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+es" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr-latin9" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fr-latin9" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "fr_CA" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ca" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr_CH" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fr_CH" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "gb" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+gb" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "hr" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+hr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "it" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+it" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "jp106" { + xkb_keycodes { include "evdev(jp106)" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "jp(jp106)" }; + xkb_geometry { include "pc(jp106)" }; +}; +xkb_keymap "lt" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lt" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "lt_std" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lt_std" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "lv" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lv" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mk" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mk" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mt" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mt" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mt_us" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mt_us" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "no" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+no" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "pl" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+pl" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "pt" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+pt" }; + xkb_geometry { include "pc(pc102)" }; +}; +// ro: additions by Cristian Gafton, +xkb_keymap "ro" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc101)+ro(pc101)" }; + xkb_geometry { include "pc(pc101)" }; +}; +xkb_keymap "ro_microsoft" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ro(pc105)" }; + xkb_geometry { include "pc(pc105)" }; +}; +xkb_keymap "ru" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ru" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "se_FI" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fi" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "se_SE" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+se" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "sl" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+si" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "sl_SI" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+si" }; + xkb_geometry { include "pc(pc102)" }; +}; +// cz and sk keymaps by Kamil Toman (ktoman@email.cz) +// are designed to replace old czechoslovakian and czsk keyboards +// and their prog variants. Those are now obsolete and should not be used anymore. +xkb_keymap "sk" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+sk" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "sk_qwerty" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+sk_qwerty" }; + xkb_geometry { include "pc" }; +}; +// Additions by Emil Soleyman-Zomalan, +xkb_keymap "syr" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+syr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "th" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+th" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "th_tis" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+th_tis" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "th_pat" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+th_pat" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "tr" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+tr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "uk" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+uk)" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "us_flexpro" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)" }; + xkb_geometry { include "keytronic(FlexPro)" }; +}; +// us_intl and br by Ricardo Y. Igarashi (iga@that.com.br) +// us_intl means standard us keyboard plus dead_keys symbols +// these keyboards are very popular in Brazil +xkb_keymap "us_intl" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc101)+us_intl" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "us_microsoft" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)" }; + xkb_geometry { include "microsoft" }; +}; + +xkb_keymap "uz" { + xkb_keycodes { include "evdev" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+uz" }; + xkb_geometry { include "pc(pc102)" }; +}; +