1default partial alphanumeric_keys modifier_keys 2xkb_symbols "pc105" { 3 4 key <ESC> { [ Escape ] }; 5 6 // The extra key on many European keyboards: 7 key <LSGT> { [ less, greater, bar, brokenbar ] }; 8 9 // The following keys are common to all layouts. 10 key <BKSL> { [ backslash, bar ] }; 11 key <SPCE> { [ space ] }; 12 13 include "srvr_ctrl(fkey2vt)" 14 include "pc(editing)" 15 include "keypad(x11)" 16 17 key <BKSP> { [ BackSpace, BackSpace ] }; 18 19 key <TAB> { [ Tab, ISO_Left_Tab ] }; 20 key <RTRN> { [ Return ] }; 21 22 key <CAPS> { [ Caps_Lock ] }; 23 key <NMLK> { [ Num_Lock ] }; 24 25 key <LFSH> { [ Shift_L ] }; 26 key <LCTL> { [ Control_L ] }; 27 key <LWIN> { [ Super_L ] }; 28 29 key <RTSH> { [ Shift_R ] }; 30 key <RCTL> { [ Control_R ] }; 31 key <RWIN> { [ Super_R ] }; 32 key <MENU> { [ Menu ] }; 33 34 // Beginning of modifier mappings. 35 modifier_map Shift { Shift_L, Shift_R }; 36 modifier_map Lock { Caps_Lock }; 37 modifier_map Control{ Control_L, Control_R }; 38 modifier_map Mod2 { Num_Lock }; 39 modifier_map Mod4 { Super_L, Super_R }; 40 41 // Fake keys for virtual<->real modifiers mapping: 42 key <LVL3> { [ ISO_Level3_Shift ] }; 43 key <MDSW> { [ Mode_switch ] }; 44 modifier_map Mod5 { <LVL3>, <MDSW> }; 45 46 key <ALT> { [ NoSymbol, Alt_L ] }; 47 include "altwin(meta_alt)" 48 49 key <META> { [ NoSymbol, Meta_L ] }; 50 modifier_map Mod1 { <META> }; 51 52 key <SUPR> { [ NoSymbol, Super_L ] }; 53 modifier_map Mod4 { <SUPR> }; 54 55 key <HYPR> { [ NoSymbol, Hyper_L ] }; 56 modifier_map Mod4 { <HYPR> }; 57 // End of modifier mappings. 58 59 key <OUTP> { [ XF86Display ] }; 60 key <KITG> { [ XF86KbdLightOnOff ] }; 61 key <KIDN> { [ XF86KbdBrightnessDown ] }; 62 key <KIUP> { [ XF86KbdBrightnessUp ] }; 63}; 64 65hidden partial alphanumeric_keys 66xkb_symbols "editing" { 67 key <PRSC> { 68 type= "PC_ALT_LEVEL2", 69 symbols[Group1]= [ Print, Sys_Req ] 70 }; 71 key <SCLK> { [ Scroll_Lock ] }; 72 key <PAUS> { 73 type= "PC_CONTROL_LEVEL2", 74 symbols[Group1]= [ Pause, Break ] 75 }; 76 key <INS> { [ Insert ] }; 77 key <HOME> { [ Home ] }; 78 key <PGUP> { [ Prior ] }; 79 key <DELE> { [ Delete ] }; 80 key <END> { [ End ] }; 81 key <PGDN> { [ Next ] }; 82 83 key <UP> { [ Up ] }; 84 key <LEFT> { [ Left ] }; 85 key <DOWN> { [ Down ] }; 86 key <RGHT> { [ Right ] }; 87}; 88