Create a gist now

Instantly share code, notes, and snippets.

anonymous /local
Created Feb 15, 2016

What would you like to do?
xkb_symbols "local" {
modifier_map Mod4 { <MENU> }; // Hyper
key <MENU> {
type = "UNMODIFIED",
[ Hyper_L ],
repeat = no
};
key <F4> {
type = "HYPER",
[F4, XF86AudioMute]
};
};
xkb_compatibility {
virtual_modifiers Shift,Control,Meta,Super,Hyper,AltGr;
interpret Hyper_R {
action = SetMods(modifiers=Mod5);
};
};
xkb_types {
virtual_modifiers Meta,AltGr,Super,Hyper,Mod5;
type "HYPER_LEVEL" {
modifiers= Shift+Hyper;
map[Shift]= Level2;
map[Hyper]= Level3;
map[Shift+Hyper]= Level3;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment