diff options
Diffstat (limited to 'linux/X/shift')
-rw-r--r-- | linux/X/shift | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/linux/X/shift b/linux/X/shift index eb7533f..1edf13a 100644 --- a/linux/X/shift +++ b/linux/X/shift @@ -17,3 +17,26 @@ xkb_symbols "breaks_caps" { ] }; }; + +partial modifier_keys +xkb_symbols "lshift_both_capslock" { + key <LFSH> { + type[Group1]="TWO_LEVEL", + symbols[Group1] = [ Shift_L, Caps_Lock ], + actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ] + }; +}; + +partial modifier_keys +xkb_symbols "rshift_both_capslock" { + key <RTSH> { + type[Group1]="TWO_LEVEL", + symbols[Group1] = [ Shift_R, Caps_Lock ], + actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ] + }; +}; +partial modifier_keys +xkb_symbols "both_capslock" { + include "shift(lshift_both_capslock)" + include "shift(rshift_both_capslock)" +}; |