// // $XFree86: xc/programs/xkbcomp/symbols/pc,v 1.9 2003/06/09 19:59:46 dawes Exp $ partial hidden alphanumeric_keys modifier_keys xkb_symbols "basic" { key { [ Escape ] }; // Alphanumeric section key { [ grave, 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 { [ Return ] }; key { [ Caps_Lock ] }; key { [ Shift_L ] }; key { [ backslash, bar ] }; key { [ Control_L ] }; key { [ space ] }; key { [ Shift_R ] }; key { [ Alt_L ] }; key { [ Control_R ] }; key { [ Alt_R ] }; // End alphanumeric section // Begin "Function" section key { type="CTRL+ALT", symbols[Group1]= [ F1, XF86_Switch_VT_1 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F2, XF86_Switch_VT_2 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F3, XF86_Switch_VT_3 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F4, XF86_Switch_VT_4 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F5, XF86_Switch_VT_5 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F6, XF86_Switch_VT_6 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F7, XF86_Switch_VT_7 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F8, XF86_Switch_VT_8 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F9, XF86_Switch_VT_9 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F10, XF86_Switch_VT_10 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F11, XF86_Switch_VT_11 ] }; key { type="CTRL+ALT", symbols[Group1]= [ F12, XF86_Switch_VT_12 ] }; // End "Function" section // Begin "Editing" section key { type= "PC_SYSRQ", symbols[Group1]= [ Print, Sys_Req ] }; key { type= "PC_SYSRQ", symbols[Group1]= [ Print, Sys_Req ] }; key { [ Scroll_Lock ] }; key { type= "PC_BREAK", symbols[Group1]= [ Pause, Break ] }; 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 ] }; // Ungrab cancels server/keyboard/pointer grabs key { type="CTRL+ALT", symbols[Group1]= [ KP_Divide, XF86_Ungrab ] }; // ClsGrb kills whichever client has a grab in effect key { type="CTRL+ALT", symbols[Group1]= [ KP_Multiply, XF86_ClearGrab ] }; // -VMode switches to the previous video mode key { type="CTRL+ALT", symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ] }; key { [ KP_Home, KP_7 ] }; key { [ KP_Up, KP_8 ] }; key { [ KP_Prior, KP_9 ] }; // +VMode switches to the next video mode key { type="CTRL+ALT", symbols[Group1]= [ KP_Add, XF86_Next_VMode ] }; 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_L, Shift_R }; modifier_map Lock { Caps_Lock, ISO_Lock }; modifier_map Control{ Control_L, Control_R }; modifier_map Mod2 { Num_Lock }; // Fake keys for virtual<->real modifiers mapping key { [ ISO_Level3_Shift ] }; key { [ Mode_switch ] }; modifier_map Mod5 { , }; key { [ NoSymbol, Alt_L ] }; modifier_map Mod1 { , }; key { [ NoSymbol, Meta_L ] }; modifier_map Mod1 { }; key { [ NoSymbol, Super_L ] }; modifier_map Mod4 { }; key { [ NoSymbol, Hyper_L ] }; modifier_map Mod4 { }; }; // definition for the PC-AT type 101 key keyboard xkb_symbols "pc101" { include "pc(basic)" key { [ Alt_L, Meta_L ] }; key { [ Alt_R, Meta_R ] }; }; // definition for the extra key on 102-key keyboards xkb_symbols "pc102" { include "pc(pc101)" key { [ less, greater, bar, brokenbar ] }; }; // definition for the extra keys on 104-key "Windows95" keyboards default xkb_symbols "pc104" { include "pc(basic)" key { [ Alt_L, Meta_L ] }; key { [ Alt_R, Meta_R ] }; key { [ Super_L ] }; key { [ Super_R ] }; key { [ Menu ] }; }; // defintion which includes both the Windows95 keyboards _and_ // the extra key on most European keyboards. xkb_symbols "pc105" { include "pc(pc104)" key { [ less, greater, bar, brokenbar ] }; }; // common keys which can be overwritten in some layouts xkb_symbols "common" { // Alphanumeric section key { [ grave, 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 { [ backslash, bar ] }; key { [ space ] }; // "Keypad" section key { [ KP_Delete, KP_Decimal ] }; // extra keys on 104-key "Windows95" keyboards key { [ Super_L ] }; key { [ Super_R ] }; key { [ Menu ] }; // the extra key on most European keyboards key { [ less, greater, bar, brokenbar ] }; };