3 // these variants assign various XKB keycodes to ISO_Level5_Shift so that
4 // the third shift level can be reached
6 // $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
9 // using the level(switch) map, the right Control key temporarily
10 // chooses the fifth shift level (until it is released).
12 xkb_symbols "rctrl_switch" {
14 type[Group1]="ONE_LEVEL",
15 symbols[Group1] = [ ISO_Level5_Shift ]
17 modifier_map Mod3 { ISO_Level5_Shift };
21 xkb_symbols "lsgt_switch" {
23 type[Group1]="ONE_LEVEL",
24 symbols[Group1] = [ ISO_Level5_Shift ]
26 modifier_map Mod3 { ISO_Level5_Shift };
30 xkb_symbols "ralt_switch" {
32 type[Group1]="ONE_LEVEL",
33 symbols[Group1] = [ ISO_Level5_Shift ]
35 modifier_map Mod3 { ISO_Level5_Shift };
39 // The following modifier keys are used to switch to the third shift and to set a
40 // corresponding lock, implemented as NumLock.
44 // This adds the definitions needed to create a level5-lock behaviour, using
45 // the real modifier NumLock as a lock indicator.
46 // See also: types/level5 : EIGHT_LEVEL_LEVEL_FIVE_LOCK
47 // See also: compat/level5(level5_lock)
48 key.type[Group1] = "ONE_LEVEL";
52 symbols[Group1] = [ ISO_Level5_Shift ],
53 actions[Group1] = [ SetMods(modifiers=LevelFive) ]
55 modifier_map Mod3 { <MDSW> };
59 symbols[Group1] = [ NoSymbol ],
60 actions[Group1] = [ SetMods(modifiers=NumLock) ]
62 modifier_map Mod2 { <HYPR> };
66 xkb_symbols "lsgt_switch_lock" {
68 include "level5(lock)"
71 type[Group1] = "EIGHT_LEVEL",
72 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
77 xkb_symbols "lwin_switch_lock" {
79 include "level5(lock)"
82 type[Group1] = "EIGHT_LEVEL",
83 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
88 xkb_symbols "ralt_switch_lock" {
90 include "level5(lock)"
93 type[Group1] = "EIGHT_LEVEL",
94 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
99 xkb_symbols "rwin_switch_lock" {
101 include "level5(lock)"
104 type[Group1] = "EIGHT_LEVEL",
105 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
109 partial modifier_keys
110 xkb_symbols "lsgt_switch_lock_cancel" {
112 include "level5(lock)"
115 type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK",
116 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
120 partial modifier_keys
121 xkb_symbols "lwin_switch_lock_cancel" {
123 include "level5(lock)"
126 type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK",
127 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
131 partial modifier_keys
132 xkb_symbols "ralt_switch_lock_cancel" {
134 include "level5(lock)"
137 type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK",
138 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]
142 partial modifier_keys
143 xkb_symbols "rwin_switch_lock_cancel" {
145 include "level5(lock)"
148 type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK",
149 symbols[Group1] = [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock, ISO_Level5_Lock ]