4 xkb_symbols "breaks_caps" {
8 SetMods(modifiers=Shift),
9 SetMods(modifiers=Shift+Lock,clearLocks)
15 SetMods(modifiers=Shift),
16 SetMods(modifiers=Shift+Lock,clearLocks)
21 // When pressed together with another Shift key, set/release Lock.
23 xkb_symbols "lshift_both_capslock" {
25 type[Group1]="TWO_LEVEL",
26 symbols[Group1] = [ Shift_L, Caps_Lock ],
27 actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
30 // When pressed together with another Shift key, set or unset Lock.
32 xkb_symbols "rshift_both_capslock" {
34 type[Group1]="TWO_LEVEL",
35 symbols[Group1] = [ Shift_R, Caps_Lock ],
36 actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
40 xkb_symbols "both_capslock" {
41 include "shift(lshift_both_capslock)"
42 include "shift(rshift_both_capslock)"
45 // Release Lock when pressed alone and set Lock when pressed with another Shift key.
47 xkb_symbols "lshift_both_capslock_cancel" {
49 type[Group1]="ALPHABETIC",
50 symbols[Group1] = [ Shift_L, Caps_Lock ]
53 // Release Lock when pressed alone and set Lock when pressed with another Shift key.
55 xkb_symbols "rshift_both_capslock_cancel" {
57 type[Group1]="ALPHABETIC",
58 symbols[Group1] = [ Shift_R, Caps_Lock ]
62 xkb_symbols "both_capslock_cancel" {
63 include "shift(lshift_both_capslock_cancel)"
64 include "shift(rshift_both_capslock_cancel)"
68 // When pressed together with another Shift key, lock/unlock Shift.
70 xkb_symbols "lshift_both_shiftlock" {
72 type[Group1]="TWO_LEVEL",
73 symbols[Group1] = [ Shift_L, Shift_Lock ]
76 // When pressed together with another Shift key, lock/unlock Shift.
78 xkb_symbols "rshift_both_shiftlock" {
80 type[Group1]="TWO_LEVEL",
81 symbols[Group1] = [ Shift_R, Shift_Lock ]
85 xkb_symbols "both_shiftlock" {
86 include "shift(lshift_both_shiftlock)"
87 include "shift(rshift_both_shiftlock)"