// $Xorg: us,v 1.3 2000/08/17 19:54:44 cpqbld Exp $ // symbols definition for a very simple US/ASCII layout. // It has basically the alphanumeric keys, punctuation, // one shift key, one control key and caps lock. It // uses the punctuation keys configurations common on PC // keyboards (e.g. key is { [ period greater ] }) // $XFree86: xc/programs/xkbcomp/symbols/us,v 3.14 2003/10/25 13:24:05 pascal Exp $ partial hidden alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "US/ASCII"; key { [ Escape ] }; // Alphanumeric section key { [ quoteleft, asciitilde ] }; key { [ 1, exclam ] }; key { [ 2, at ] }; key { [ 3, numbersign ] }; key { [ 4, dollar ] }; key { [ 5, percent ] }; key { [ 6, asciicircum ] }; key { [ 7, ampersand ] }; key { [ 8, asterisk ] }; key { [ 9, parenleft ] }; key { [ 0, parenright ] }; key { [ minus, underscore ] }; key { [ equal, plus ] }; key { type="CTRL+ALT", symbols[Group1]= [ BackSpace, Terminate_Server ] }; key { [ Tab, ISO_Left_Tab ] }; key { [ q, Q ] }; key { [ w, W ] }; key { [ e, E ] }; key { [ r, R ] }; key { [ t, T ] }; key { [ y, Y ] }; key { [ u, U ] }; key { [ i, I ] }; key { [ o, O ] }; key { [ p, P ] }; key { [ bracketleft, braceleft ] }; key { [ bracketright, braceright ] }; key { [ Return ] }; key { [ Caps_Lock ] }; key { [ a, A ] }; key { [ s, S ] }; key { [ d, D ] }; key { [ f, F ] }; key { [ g, G ] }; key { [ h, H ] }; key { [ j, J ] }; key { [ k, K ] }; key { [ l, L ] }; key { [ semicolon, colon ] }; key { [ quoteright, quotedbl ] }; key { [ Shift_L ] }; key { [ z, Z ] }; key { [ x, X ] }; key { [ c, C ] }; key { [ v, V ] }; key { [ b, B ] }; key { [ n, N ] }; key { [ m, M ] }; key { [ comma, less ] }; key { [ period, greater ] }; key { [ slash, question ] }; key { [ backslash, bar ] }; key { [ Control_L ] }; key { [ space ] }; // End alphanumeric section // begin modifier mappings modifier_map Shift { Shift_L }; modifier_map Lock { Caps_Lock }; modifier_map Control{ Control_L }; }; // definition of a US/ASCII layout for a typical 101-key keyboard. // Includes the basic alphanumeric and punctuation keys and then // defines the "extra" (right) modifier keys, function keys, cursor, // edit, and keypad keys. xkb_symbols "generic101" { include "srvr_ctrl(xfree86)" include "us(basic)" key { [ Shift_R ] }; key { [ Alt_L ] }; key { [ Control_R ] }; key { [ Alt_R ] }; // Begin "Function" section key { [ F1 ] }; key { [ F2 ] }; key { [ F3 ] }; key { [ F4 ] }; key { [ F5 ] }; key { [ F6 ] }; key { [ F7 ] }; key { [ F8 ] }; key { [ F9 ] }; key { [ F10 ] }; key { [ F11 ] }; key { [ F12 ] }; // End "Function" section // Begin "Editing" section key { type= "PC_SYSRQ", symbols[Group1]= [ Print, Sys_Req ] }; key { [ Scroll_Lock ] }; key { type= "PC_BREAK", symbols[Group1]= [ Pause, Break ] }; key { [ Insert ] }; key { [ Home ] }; key { [ Prior ] }; key { [ Delete ] }; key { [ End ] }; key { [ Next ] }; key { [ Up ] }; key { [ Left ] }; key { [ Down ] }; key { [ Right ] }; // End "Editing" section, begin "Keypad" key { [ Num_Lock, Pointer_EnableKeys ] }; key { [ KP_Divide ] }; key { [ KP_Multiply ] }; key { [ KP_Subtract ] }; key { [ KP_Home, KP_7 ] }; key { [ KP_Up, KP_8 ] }; key { [ KP_Prior, KP_9 ] }; key { [ KP_Add ] }; key { [ KP_Left, KP_4 ] }; key { [ KP_Begin, KP_5 ] }; key { [ KP_Right, KP_6 ] }; key { [ KP_End, KP_1 ] }; key { [ KP_Down, KP_2 ] }; key { [ KP_Next, KP_3 ] }; key { [ KP_Enter ] }; key { [ KP_Equal ] }; key { [ KP_Insert, KP_0 ] }; key { [ KP_Delete, KP_Decimal ] }; // End "Keypad" section // begin modifier mappings modifier_map Shift { Shift_R }; modifier_map Control{ Control_R }; modifier_map Mod1 { Alt_L, Alt_R }; modifier_map Mod2 { Num_Lock }; modifier_map Mod5 { Scroll_Lock }; }; partial alphanumeric_keys xkb_symbols "intl" { name[Group1]= "US International"; include "us(pc105euro)" // Alphanumeric section key { [dead_grave, dead_tilde ], [ grave, asciitilde ] }; key { [ 1, exclam ], [exclamdown, onesuperior ] }; key { [ 2, at ], [twosuperior, dead_doubleacute] }; key { [ 3, numbersign ], [threesuperior, dead_macron ] }; key { [ 4, dollar ], [ currency, sterling ] }; key { [ 5, percent ], [ EuroSign ] }; key { [ 6, dead_circumflex ], [onequarter, asciicircum ] }; key { [ 7, ampersand ], [ onehalf, dead_horn ] }; key { [ 8, asterisk ], [threequarters, dead_ogonek ] }; key { [ 9, parenleft ], [ leftsinglequotemark, dead_breve] }; key { [ 0, parenright ], [ rightsinglequotemark, dead_abovering ] }; key { [ minus, underscore ], [ yen, dead_belowdot ] }; key { [ equal, plus ], [ multiply, division ] }; key { [ q, Q ], [adiaeresis, Adiaeresis ] }; key { [ w, W ], [ aring, Aring ] }; key { [ e, E ], [ eacute, Eacute ] }; key { [ r, R ], [registered, registered ] }; key { [ t, T ], [ thorn, THORN ] }; key { [ y, Y ], [udiaeresis, Udiaeresis ] }; key { [ u, U ], [ uacute, Uacute ] }; key { [ i, I ], [ iacute, Iacute ] }; key { [ o, O ], [ oacute, Oacute ] }; key { [ p, P ], [odiaeresis, Odiaeresis ] }; key { [ bracketleft, braceleft ], [ guillemotleft ] }; key { [ bracketright, braceright ], [ guillemotright ] }; key { [ a, A ], [ aacute, Aacute ] }; key { [ s, S ], [ ssharp, section ] }; key { [ d, D ], [ eth, ETH ] }; key { [ l, L ], [ oslash, Ooblique ] }; key { [ semicolon, colon ], [ paragraph, degree ] }; key { [ dead_acute, dead_diaeresis ], [ apostrophe, quotedbl ] }; key { [ z, Z ], [ ae, AE ] }; key { [ c, C ], [ copyright, cent ] }; key { [ n, N ], [ ntilde, Ntilde ] }; key { [ m, M ], [ mu, mu ] }; key { [ comma, less ], [ ccedilla, Ccedilla ] }; key { [ period, greater ], [ dead_abovedot,dead_caron ] }; key { [ slash, question ], [ questiondown, dead_hook ] }; key { [ backslash, bar ], [ notsign, brokenbar ] }; }; // definition for the PC-AT type 101 key keyboard default xkb_symbols "pc101" { include "us(generic101)" key { [ Alt_L, Meta_L ] }; key { [ Alt_R, Meta_R ] }; // begin modifier mappings modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; }; // definition for the extra key on 102-key keyboards xkb_symbols "pc102" { include "us(pc101)" key { [ less, greater ] }; }; // definition of Euro-style, Alt_R == [Mode_switch, Multi_key] xkb_symbols "pc101euro" { include "us(generic101)" key { [ Alt_L, Meta_L ] }; key { [ Mode_switch, Multi_key ] }; // begin modifier mappings modifier_map Mod1 { Alt_L, Meta_L }; }; // definition of Alternate Euro-style, Alt_R == [Multi_key] xkb_symbols "pc101compose" { include "us(generic101)" key { [ Alt_L, Meta_L ] }; key { [ Multi_key ] }; // begin modifier mappings modifier_map Mod1 { Alt_L, Meta_L }; }; xkb_symbols "pc102euro" { include "us(pc101euro)" key { [ less, greater ] }; }; xkb_symbols "pc102compose" { include "us(pc101compose)" key { [ less, greater ] }; }; // definition for the extra keys on 104-key "Windows95" keyboards xkb_symbols "pc104" { include "us(generic101)" key { [ Alt_L, Meta_L ] }; key { [ Alt_R, Meta_R ] }; key { [ Super_L ] }; key { [ Super_R ] }; key { [ Menu ] }; // modifier mappings modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; modifier_map Mod4 { Super_L, Super_R }; }; // definition of Euro-style, Right "logo" key == [Mode_switch, Multi_key] xkb_symbols "pc104euro" { include "us(pc104)" key { [ Mode_switch ] }; key { [ Multi_key ] }; }; // put the compose key on the right "logo" key xkb_symbols "pc104compose" { include "us(pc104)" key { [ Multi_key ] }; }; // defintion which includes both the Windows95 keyboards _and_ // the extra key on most European keyboards. xkb_symbols "pc105" { include "us(pc104)" key { [ less, greater ] }; }; xkb_symbols "pc105euro" { include "us(pc104euro)" key { [ less, greater ] }; }; xkb_symbols "pc105compose" { include "us(pc104compose)" key { [ less, greater ] }; }; // universal maps are identical to pc105; wish we had aliases for map names. xkb_symbols "pc_universal" { include "us(pc104)" key { [ less, greater ] }; }; xkb_symbols "pc_universal_euro" { include "us(pc104euro)" key { [ less, greater ] }; }; xkb_symbols "pc_universal_compose" { include "us(pc104compose)" key { [ less, greater ] }; };