// $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 ] }) // This file is a modified version of US keyboard for // use mainly in cz* and sk* keyboards. // Modified by Jan Holesovsky , 2001 // $XFree86: xc/programs/xkbcomp/symbols/us_group2,v 1.2 2002/09/16 18:06:21 eich Exp $ partial hidden alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group2]= "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[Group2]= [ 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, 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 "us_group2(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[Group2]= [], [ Print, Sys_Req ] }; key { [], [ Scroll_Lock ] }; key { type= "PC_BREAK", symbols[Group2]= [], [ 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_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 }; }; // definition for the PC-AT type 101 key keyboard default xkb_symbols "pc101" { include "us_group2(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_group2(pc101)" key { [], [ less, greater ] }; }; // definition of Euro-style, Alt_R == [Mode_switch, Multi_key] xkb_symbols "pc101euro" { include "us_group2(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_group2(generic101)" key { [], [ Alt_L, Meta_L ] }; key { [], [ Multi_key ] }; // begin modifier mappings modifier_map Mod1 { Alt_L, Meta_L }; }; xkb_symbols "pc102euro" { include "us_group2(pc101euro)" key { [], [ less, greater ] }; }; xkb_symbols "pc102compose" { include "us_group2(pc101compose)" key { [], [ less, greater ] }; }; // definition for the extra keys on 104-key "Windows95" keyboards xkb_symbols "pc104" { include "us_group2(generic101)" key { [], [ Alt_L ] }; key { [], [ Alt_R ] }; key { [], [ Meta_L ] }; key { [], [ Multi_key ] }; key { [], [ Menu ] }; // modifier mappings modifier_map Mod1 { Alt_L, Alt_R }; modifier_map Mod4 { Meta_L, Meta_R }; }; // definition of Euro-style, Right "logo" key == [Mode_switch, Multi_key] xkb_symbols "pc104euro" { include "us_group2(pc104)" key { [], [ Mode_switch ] }; key { [], [ Multi_key ] }; }; // put the compose key on the right "logo" key xkb_symbols "pc104compose" { include "us_group2(pc104)" key { [], [ Multi_key ] }; }; // defintion which includes both the Windows95 keyboards _and_ // the extra key on most European keyboards. xkb_symbols "pc105" { include "us_group2(pc104)" key { [], [ less, greater ] }; }; xkb_symbols "pc105euro" { include "us_group2(pc104euro)" key { [], [ less, greater ] }; }; xkb_symbols "pc105compose" { include "us_group2(pc104compose)" key { [], [ less, greater ] }; }; // universal maps are identical to pc105; wish we had aliases for map names. xkb_symbols "pc_universal" { include "us_group2(pc104)" key { [], [ less, greater ] }; }; xkb_symbols "pc_universal_euro" { include "us_group2(pc104euro)" key { [], [ less, greater ] }; }; xkb_symbols "pc_universal_compose" { include "us_group2(pc104compose)" key { [], [ less, greater ] }; };