set keyd overload tap timeout

helps prevent escape key from being sent if not tapped
This commit is contained in:
Noah Masur 2023-10-07 08:58:34 -04:00
parent 14d2cbfdfb
commit 1c9bd21ced

View File

@ -18,7 +18,14 @@
keyboards = {
default = {
ids = [ "*" ];
settings = { main = { capslock = "overload(control, esc)"; }; };
settings = {
main = { capslock = "overload(control, esc)"; };
# Fix: ctrl-click sends escape afterwards
# Suppresses escape if held for more than 500ms
# https://github.com/rvaiya/keyd/issues/424
global = { overload_tap_timeout = 500; };
};
};
};
};