ENH update for xkeyboard-config 2.33

This commit is contained in:
Nathan Dwarshuis 2021-06-13 13:42:03 -04:00
parent 2ced055c9f
commit 0b40e7be28
1 changed files with 5 additions and 9 deletions

View File

@ -3,15 +3,11 @@ xkb_symbols "basic" {
name[Group1]= "English (hypermode)"; name[Group1]= "English (hypermode)";
//add new modifiers for hyperlayer and numlayer //add new modifiers for hyperlayer and numlayer
modifier_map Mod3 { Hyper_L, Hyper_R }; modifier_map Mod3 { Hyper_L, Hyper_R };
key <HYPR> { [ NoSymbol, Hyper_L ] }; key <HYPR> { [ NoSymbol, Hyper_L ] };
modifier_map Mod3 { <HYPR> }; modifier_map Mod3 { <HYPR> };
modifier_map Mod4 { Super_L, Super_R };
key <SUPR> { [ NoSymbol, Super_L ] };
modifier_map Mod4 { <SUPR> };
modifier_map Mod5 { ISO_Level3_Shift }; modifier_map Mod5 { ISO_Level3_Shift };
key <LVL3> { [ ISO_Level3_Shift ] }; key <LVL3> { [ ISO_Level3_Shift ] };
key <MDSW> { [ Mode_switch ] }; key <MDSW> { [ Mode_switch ] };
@ -84,11 +80,11 @@ xkb_symbols "basic" {
// defines right alt (maybe we call it alt-right???) // defines right alt (maybe we call it alt-right???)
key <RALT> { type[Group1]="SHIFT_ALTGR", [ Hyper_R, Hyper_R, period ] }; key <RALT> { type[Group1]="SHIFT_ALTGR", [ Hyper_R, Hyper_R, period ] };
// reassign xcape keys to unused keycodes (I249-I254) // reassign xcape keys to unused keycodes
key <I249> { [ Return ] }; key <I217> { [ Return ] };
// key <I250> { [ Escape ] }; // key <I250> { [ Escape ] };
key <I250> { [ Tab, ISO_Left_Tab ] }; key <I219> { [ Tab, ISO_Left_Tab ] };
key <I252> { [ backslash, bar ] }; key <I222> { [ backslash, bar ] };
// space is weird becuase we also make it function as a 0 in the numlayer // space is weird becuase we also make it function as a 0 in the numlayer
key <I253> { type="SHIFT_ALTGR", [ space, space, 0 ] }; key <I253> { type="SHIFT_ALTGR", [ space, space, 0 ] };