- Added comments to mac_gui

This commit is contained in:
Ben Reaves
2020-04-12 00:00:30 -05:00
parent 94128f7dbf
commit a6688ffc44

View File

@@ -111,28 +111,52 @@ default partial xkb_symbols "mac_levelssym" {
replace key <AC04> { replace key <AC04> {
type[Group1]= "ONE_LEVEL_CTRL", type[Group1]= "ONE_LEVEL_CTRL",
symbols[Group1]= [ symbols[Group1]= [
// Base
f, f,
// Shift
F, F,
// Alt
f, f,
// Shift Alt
F, F,
// Control
f, f,
// Shift Control
F, F,
// Super
f, f,
// Shift Super
F, F,
// Control Alt
h, h,
// Super Control
F10 F10
// Super Alt
// Super Control Alt
], ],
actions[Group1]= [ actions[Group1]= [
// Base
NoAction(), NoAction(),
// Shift
NoAction(), NoAction(),
// Alt
NoAction(), NoAction(),
// Shift Alt
NoAction(), NoAction(),
// Control
NoAction(), NoAction(),
// Shift Control
NoAction(), NoAction(),
// Super
NoAction(), NoAction(),
// Shift Super
NoAction(), NoAction(),
// Control Alt
RedirectKey(key=<AC06>,clearmods=Mod1), RedirectKey(key=<AC06>,clearmods=Mod1),
// Super Control
RedirectKey(key=<FK10>,modifiers=Mod1,clearmods=Super+Control) RedirectKey(key=<FK10>,modifiers=Mod1,clearmods=Super+Control)
// Super Alt
// Super Control Alt
] ]
}; };
// Close App Cmd + Q = Alt + F4 // Close App Cmd + Q = Alt + F4
@@ -626,17 +650,27 @@ partial xkb_symbols "mac_chrome" {
replace key <RGHT> { replace key <RGHT> {
type[Group1]= "ONE_LEVEL_CTRL", type[Group1]= "ONE_LEVEL_CTRL",
symbols[Group1]= [ symbols[Group1]= [
// Base
Right, Right,
// Shift
Right, Right,
// Alt
NoSymbol, NoSymbol,
// Shift Alt
NoSymbol, NoSymbol,
// Control
Right Right
], ],
actions[Group1]= [ actions[Group1]= [
// Base
NoAction(), NoAction(),
// Shift
NoAction(), NoAction(),
// Alt
RedirectKey(key=<FK18>), RedirectKey(key=<FK18>),
// Shift Alt
RedirectKey(key=<FK18>), RedirectKey(key=<FK18>),
// Control
RedirectKey(key=<RGHT>,modifiers=Mod1,clearmods=Control) RedirectKey(key=<RGHT>,modifiers=Mod1,clearmods=Control)
] ]
}; };