2013-10-26 11:49:57 -06:00
|
|
|
default partial alphanumeric_keys modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "pc105" {
|
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
key <ESC> { [ Escape ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
// The extra key on many European keyboards:
|
|
|
|
key <LSGT> { [ less, greater, bar, brokenbar ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
// The following keys are common to all layouts.
|
|
|
|
key <BKSL> { [ backslash, bar ] };
|
|
|
|
key <SPCE> { [ space ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2011-10-16 11:18:56 -06:00
|
|
|
include "srvr_ctrl(fkey2vt)"
|
2009-06-06 11:52:23 -06:00
|
|
|
include "pc(editing)"
|
|
|
|
include "keypad(x11)"
|
|
|
|
|
2012-01-24 09:24:33 -07:00
|
|
|
key <BKSP> { [ BackSpace, BackSpace ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
key <TAB> { [ Tab, ISO_Left_Tab ] };
|
2013-10-26 11:49:57 -06:00
|
|
|
key <RTRN> { [ Return ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ Caps_Lock ] };
|
|
|
|
key <NMLK> { [ Num_Lock ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
key <LFSH> { [ Shift_L ] };
|
|
|
|
key <LCTL> { [ Control_L ] };
|
|
|
|
key <LWIN> { [ Super_L ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
key <RTSH> { [ Shift_R ] };
|
|
|
|
key <RCTL> { [ Control_R ] };
|
|
|
|
key <RWIN> { [ Super_R ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
key <MENU> { [ Menu ] };
|
|
|
|
|
2011-04-10 11:46:36 -06:00
|
|
|
// "Sun LKeys" section
|
2013-10-26 11:49:57 -06:00
|
|
|
key <STOP> { [ Cancel, Cancel, F11 ] };
|
|
|
|
key <AGAI> { [ Redo, Redo, F12 ] };
|
|
|
|
key <PROP> { [ SunProps, SunProps, F13 ] };
|
|
|
|
key <UNDO> { [ Undo, Undo, F14 ] };
|
|
|
|
key <FRNT> { [ SunFront, SunFront, F15 ] };
|
|
|
|
key <COPY> { [ SunCopy, SunCopy, F16 ] };
|
|
|
|
key <OPEN> { [ SunOpen, SunOpen, F17 ] };
|
|
|
|
key <PAST> { [ SunPaste, SunPaste, F18 ] };
|
|
|
|
key <FIND> { [ Find, Find, F19 ] };
|
|
|
|
key <CUT> { [ SunCut, SunCut, F20 ] };
|
|
|
|
|
|
|
|
// Beginning of modifier mappings.
|
2009-06-06 11:52:23 -06:00
|
|
|
modifier_map Shift { Shift_L, Shift_R };
|
2012-06-10 10:30:14 -06:00
|
|
|
modifier_map Lock { Caps_Lock };
|
2009-06-06 11:52:23 -06:00
|
|
|
modifier_map Control{ Control_L, Control_R };
|
|
|
|
modifier_map Mod2 { Num_Lock };
|
2011-01-10 07:25:56 -07:00
|
|
|
modifier_map Mod4 { Super_L, Super_R };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
// Fake keys for virtual<->real modifiers mapping:
|
2009-06-06 11:52:23 -06:00
|
|
|
key <LVL3> { [ ISO_Level3_Shift ] };
|
|
|
|
key <MDSW> { [ Mode_switch ] };
|
|
|
|
modifier_map Mod5 { <LVL3>, <MDSW> };
|
|
|
|
|
|
|
|
key <ALT> { [ NoSymbol, Alt_L ] };
|
|
|
|
include "altwin(meta_alt)"
|
|
|
|
|
|
|
|
key <META> { [ NoSymbol, Meta_L ] };
|
|
|
|
modifier_map Mod1 { <META> };
|
|
|
|
|
|
|
|
key <SUPR> { [ NoSymbol, Super_L ] };
|
|
|
|
modifier_map Mod4 { <SUPR> };
|
|
|
|
|
|
|
|
key <HYPR> { [ NoSymbol, Hyper_L ] };
|
|
|
|
modifier_map Mod4 { <HYPR> };
|
2013-10-26 11:49:57 -06:00
|
|
|
// End of modifier mappings.
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
key <OUTP> { [ XF86Display ] };
|
|
|
|
key <KITG> { [ XF86KbdLightOnOff ] };
|
|
|
|
key <KIDN> { [ XF86KbdBrightnessDown ] };
|
|
|
|
key <KIUP> { [ XF86KbdBrightnessUp ] };
|
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial alphanumeric_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "editing" {
|
|
|
|
key <PRSC> {
|
|
|
|
type= "PC_ALT_LEVEL2",
|
|
|
|
symbols[Group1]= [ Print, Sys_Req ]
|
|
|
|
};
|
2013-10-26 11:49:57 -06:00
|
|
|
key <SCLK> { [ Scroll_Lock ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
key <PAUS> {
|
|
|
|
type= "PC_CONTROL_LEVEL2",
|
|
|
|
symbols[Group1]= [ Pause, Break ]
|
|
|
|
};
|
|
|
|
key <INS> { [ Insert ] };
|
|
|
|
key <HOME> { [ Home ] };
|
|
|
|
key <PGUP> { [ Prior ] };
|
|
|
|
key <DELE> { [ Delete ] };
|
|
|
|
key <END> { [ End ] };
|
|
|
|
key <PGDN> { [ Next ] };
|
|
|
|
|
|
|
|
key <UP> { [ Up ] };
|
|
|
|
key <LEFT> { [ Left ] };
|
|
|
|
key <DOWN> { [ Down ] };
|
|
|
|
key <RGHT> { [ Right ] };
|
|
|
|
};
|