1
1
Fork 0

keyd: ignore ydotool device

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-10 18:15:33 -06:00
parent 09efda36b2
commit 1466078ae6
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -19,117 +19,124 @@ in {
#!! Binds use qwerty without layouts #!! Binds use qwerty without layouts
# https://github.com/rvaiya/keyd/blob/master/docs/keyd.scdoc # https://github.com/rvaiya/keyd/blob/master/docs/keyd.scdoc
#?? keyd monitor #?? keyd monitor
keyboards.default.settings = { keyboards.default = {
#// global.disable_modifier_guard = 1; # Disable extraneous Control injection ids = [
"*"
"-2333:6666:69419150" # ydotool
];
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty settings = {
shift.shift = "capslock"; # Both Shifts toggle Capslock #// global.disable_modifier_guard = 1; # Disable extraneous Control injection
"meta+control+shift" = { control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
# Mouse repeat macro shift.shift = "capslock"; # Both Shifts toggle Capslock
"," = "macro2(300, 100, leftmouse)";
"." = "macro2(300, 100, rightmouse)";
"/" = "macro2(300, 100, middlemouse)";
};
# Emulate function keys "meta+control+shift" = {
function = { # Mouse repeat macro
space = "playpause"; "," = "macro2(300, 100, leftmouse)";
rightalt = "previoussong"; "." = "macro2(300, 100, rightmouse)";
rightcontrol = "nextsong"; "/" = "macro2(300, 100, middlemouse)";
backspace = "mute"; };
minus = "volumedown";
equal = "volumeup";
";" = "pageup"; # Emulate function keys
"." = "pagedown"; function = {
"'" = "home"; space = "playpause";
"/" = "end"; rightalt = "previoussong";
"\\" = "sysrq"; # Printscreen rightcontrol = "nextsong";
}; backspace = "mute";
minus = "volumedown";
equal = "volumeup";
qwerty = { ";" = "pageup";
capslock = "capslock"; "." = "pagedown";
backspace = "backspace"; "'" = "home";
"/" = "end";
"\\" = "sysrq"; # Printscreen
};
"w" = "w"; qwerty = {
"," = ","; capslock = "capslock";
"s" = "s"; backspace = "backspace";
"a" = "a";
"c" = "c";
"g" = "g";
"q" = "q";
"e" = "e";
"]" = "]";
"d" = "d";
"/" = "/";
";" = ";";
"'" = "'";
"r" = "r";
"f" = "f";
"t" = "t";
"u" = "u";
"." = ".";
"j" = "j";
"k" = "k";
"p" = "p";
"o" = "o";
"z" = "z";
"h" = "h";
"i" = "i";
"[" = "[";
"v" = "v";
"l" = "l";
"m" = "m";
"n" = "n";
"x" = "x";
"b" = "b";
"y" = "y";
};
main = { "w" = "w";
capslock = "backspace"; "," = ",";
backspace = "delete"; "s" = "s";
"a" = "a";
"c" = "c";
"g" = "g";
"q" = "q";
"e" = "e";
"]" = "]";
"d" = "d";
"/" = "/";
";" = ";";
"'" = "'";
"r" = "r";
"f" = "f";
"t" = "t";
"u" = "u";
"." = ".";
"j" = "j";
"k" = "k";
"p" = "p";
"o" = "o";
"z" = "z";
"h" = "h";
"i" = "i";
"[" = "[";
"v" = "v";
"l" = "l";
"m" = "m";
"n" = "n";
"x" = "x";
"b" = "b";
"y" = "y";
};
compose = "layer(function)"; main = {
leftmeta = "layer(alt)"; capslock = "backspace";
leftalt = "layer(meta)"; backspace = "delete";
rightalt = "layer(meta)";
# Colemak default compose = "layer(function)";
"w" = "w"; leftmeta = "layer(alt)";
"," = ","; leftalt = "layer(meta)";
"s" = "r"; rightalt = "layer(meta)";
"a" = "a";
"c" = "c"; # Colemak default
"g" = "d"; "w" = "w";
"q" = "q"; "," = ",";
"e" = "f"; "s" = "r";
"]" = "]"; "a" = "a";
"d" = "s"; "c" = "c";
"/" = "/"; "g" = "d";
";" = "o"; "q" = "q";
"'" = "'"; "e" = "f";
"r" = "p"; "]" = "]";
"f" = "t"; "d" = "s";
"t" = "g"; "/" = "/";
"u" = "l"; ";" = "o";
"." = "."; "'" = "'";
"j" = "n"; "r" = "p";
"k" = "e"; "f" = "t";
"p" = ";"; "t" = "g";
"o" = "y"; "u" = "l";
"z" = "z"; "." = ".";
"h" = "h"; "j" = "n";
"i" = "u"; "k" = "e";
"[" = "["; "p" = ";";
"v" = "v"; "o" = "y";
"l" = "i"; "z" = "z";
"m" = "m"; "h" = "h";
"n" = "k"; "i" = "u";
"x" = "x"; "[" = "[";
"b" = "b"; "v" = "v";
"y" = "j"; "l" = "i";
"m" = "m";
"n" = "k";
"x" = "x";
"b" = "b";
"y" = "j";
};
}; };
}; };
}; };