Keyd: Use timeouts for controls.
This commit is contained in:
parent
cac0e54f41
commit
4a062abfd4
|
@ -20,7 +20,9 @@ in
|
|||
# NOTE: Use `wev` to find key names.
|
||||
main = {
|
||||
# down = "micmute";
|
||||
# leftcontrol = "overload(layer_alternative, micmute)"; # Alternative layer for home, end etc.
|
||||
# right = "compose";
|
||||
# rightcontrol = "overload(layer_control, mute)"; # Media and other controls.
|
||||
# up = "mute";
|
||||
backspace = "delete"; # Delete key on backspace.
|
||||
capslock = "overload(control, esc)"; # Ctrl/esc combo.
|
||||
|
@ -28,9 +30,9 @@ in
|
|||
delete = "backslash";
|
||||
esc = "timeout(grave, ${toString timeout}, print)"; # System controls.
|
||||
left = "compose"; # Number input layer.
|
||||
leftcontrol = "overload(layer_alternative, micmute)"; # Alternative layer for home, end etc.
|
||||
leftcontrol = "timeout(micmute, ${toString timeout}, layer(layer_alternative))"; # Alternative layer for home, end etc.
|
||||
print = "compose";
|
||||
rightcontrol = "overload(layer_control, mute)"; # Media and other controls.
|
||||
rightcontrol = "timeout(mute, ${toString timeout}, layer(layer_control))"; # Media and other controls.
|
||||
rightshift = "backspace"; # Backspace.
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue