2 xkb_symbols "breaks_caps" {
6 SetMods(modifiers=Shift),
7 SetMods(modifiers=Shift+Lock,clearLocks)
13 SetMods(modifiers=Shift),
14 SetMods(modifiers=Shift+Lock,clearLocks)
19 // When pressed together with another Shift key, set/release Lock.
21 xkb_symbols "lshift_both_capslock" {
23 type[Group1]="TWO_LEVEL",
24 symbols[Group1] = [ Shift_L, Caps_Lock ]
27 // When pressed together with another Shift key, set or unset Lock.
29 xkb_symbols "rshift_both_capslock" {
31 type[Group1]="TWO_LEVEL",
32 symbols[Group1] = [ Shift_R, Caps_Lock ]
36 xkb_symbols "both_capslock" {
37 include "shift(lshift_both_capslock)"
38 include "shift(rshift_both_capslock)"
41 // Release Lock when pressed alone and set Lock when pressed with another Shift key.
43 xkb_symbols "lshift_both_capslock_cancel" {
45 type[Group1]="ALPHABETIC",
46 symbols[Group1] = [ Shift_L, Caps_Lock ]
49 // Release Lock when pressed alone and set Lock when pressed with another Shift key.
51 xkb_symbols "rshift_both_capslock_cancel" {
53 type[Group1]="ALPHABETIC",
54 symbols[Group1] = [ Shift_R, Caps_Lock ]
58 xkb_symbols "both_capslock_cancel" {
59 include "shift(lshift_both_capslock_cancel)"
60 include "shift(rshift_both_capslock_cancel)"
64 // When pressed together with another Shift key, lock/unlock Shift.
66 xkb_symbols "lshift_both_shiftlock" {
68 type[Group1]="TWO_LEVEL",
69 symbols[Group1] = [ Shift_L, Shift_Lock ]
72 // When pressed together with another Shift key, lock/unlock Shift.
74 xkb_symbols "rshift_both_shiftlock" {
76 type[Group1]="TWO_LEVEL",
77 symbols[Group1] = [ Shift_R, Shift_Lock ]
81 xkb_symbols "both_shiftlock" {
82 include "shift(lshift_both_shiftlock)"
83 include "shift(rshift_both_shiftlock)"