1 // $XdotOrg: xc/programs/xkbcomp/compat/misc,v 1.1.4.4 2004/03/05 13:41:28 eich Exp $
2 // $Xorg: misc,v 1.3 2000/08/17 19:54:34 cpqbld Exp $
6 // $XFree86: xc/programs/xkbcomp/compat/misc,v 1.4 2003/05/15 13:31:57 pascal Exp $
8 default partial xkb_compatibility "misc" {
10 virtual_modifiers Alt,Meta,Super,Hyper,ScrollLock;
12 // Interpretations for some other useful keys
14 interpret Terminate_Server {
18 setMods.clearLocks= True;
20 // Sets the "Alt" virtual modifier
23 //useModMapMods= level1;
25 action = SetMods(modifiers=modMapMods);
29 action = SetMods(modifiers=Alt);
33 //useModMapMods= level1;
35 action = SetMods(modifiers=modMapMods);
39 action = SetMods(modifiers=Alt);
42 // Sets the "Meta" virtual modifier
44 interpret Meta_L+Any {
45 // useModMapMods= level1;
46 virtualModifier= Meta;
47 action = SetMods(modifiers=modMapMods);
51 action = SetMods(modifiers=Meta);
54 interpret Meta_R+Any {
55 //useModMapMods= level1;
56 virtualModifier= Meta;
57 action = SetMods(modifiers=modMapMods);
61 action = SetMods(modifiers=Alt);
64 // Sets the "Super" virtual modifier
66 interpret Super_L+Any {
67 // useModMapMods= level1;
68 virtualModifier= Super;
69 action = SetMods(modifiers=modMapMods);
73 action = SetMods(modifiers=Super);
76 interpret Super_R+Any {
77 //useModMapMods= level1;
78 virtualModifier= Super;
79 action = SetMods(modifiers=modMapMods);
83 action = SetMods(modifiers=Super);
86 // Sets the "Hyper" virtual modifier
88 interpret Hyper_L+Any {
89 // useModMapMods= level1;
90 virtualModifier= Hyper;
91 action = SetMods(modifiers=modMapMods);
95 action = SetMods(modifiers=Hyper);
98 interpret Hyper_R+Any {
99 //useModMapMods= level1;
100 virtualModifier= Hyper;
101 action = SetMods(modifiers=modMapMods);
105 action = SetMods(modifiers=Hyper);
108 // Sets the "ScrollLock" virtual modifier and
109 // makes it actually lock when pressed. Sets
110 // up a map for the scroll lock indicator.
111 interpret Scroll_Lock+Any {
112 virtualModifier= ScrollLock;
113 action = LockMods(modifiers=modMapMods);