1 default partial xkb_compatibility "misc" {
3 virtual_modifiers Alt,Meta,Super,Hyper,ScrollLock;
5 // Interpretations for some other useful keys
7 interpret Terminate_Server {
11 setMods.clearLocks= True;
13 // Sets the "Alt" virtual modifier
16 //useModMapMods= level1;
18 action = SetMods(modifiers=modMapMods);
22 action = SetMods(modifiers=Alt);
26 //useModMapMods= level1;
28 action = SetMods(modifiers=modMapMods);
32 action = SetMods(modifiers=Alt);
35 // Sets the "Meta" virtual modifier
37 interpret Meta_L+Any {
38 // useModMapMods= level1;
39 virtualModifier= Meta;
40 action = SetMods(modifiers=modMapMods);
44 action = SetMods(modifiers=Meta);
47 interpret Meta_R+Any {
48 //useModMapMods= level1;
49 virtualModifier= Meta;
50 action = SetMods(modifiers=modMapMods);
54 action = SetMods(modifiers=Meta);
57 // Sets the "Super" virtual modifier
59 interpret Super_L+Any {
60 // useModMapMods= level1;
61 virtualModifier= Super;
62 action = SetMods(modifiers=modMapMods);
66 action = SetMods(modifiers=Super);
69 interpret Super_R+Any {
70 //useModMapMods= level1;
71 virtualModifier= Super;
72 action = SetMods(modifiers=modMapMods);
76 action = SetMods(modifiers=Super);
79 // Sets the "Hyper" virtual modifier
81 interpret Hyper_L+Any {
82 // useModMapMods= level1;
83 virtualModifier= Hyper;
84 action = SetMods(modifiers=modMapMods);
88 action = SetMods(modifiers=Hyper);
91 interpret Hyper_R+Any {
92 //useModMapMods= level1;
93 virtualModifier= Hyper;
94 action = SetMods(modifiers=modMapMods);
98 action = SetMods(modifiers=Hyper);
101 // Sets the "ScrollLock" virtual modifier and
102 // makes it actually lock when pressed. Sets
103 // up a map for the scroll lock indicator.
104 interpret Scroll_Lock+Any {
105 virtualModifier= ScrollLock;
106 action = LockMods(modifiers=modMapMods);
111 include "misc(assign_shift_left_action)"
114 partial xkb_compatibility "assign_shift_left_action" {
115 // Because of the irrevertable modifier mapping in symbols/pc <LFSH> is
116 // getting bound to the Lock modifier when using
117 // symbols/shift(both_capslock), creating unwanted behaviour.
118 // This is a quirk, to circumvent the problem.
120 action = SetMods(modifiers = Shift);