keyd: add mouse button macro
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
7614f59217
commit
f3b9399b11
1 changed files with 8 additions and 0 deletions
|
@ -16,6 +16,7 @@ in {
|
|||
enable = true;
|
||||
|
||||
#!! Binds use qwerty without layouts
|
||||
# https://github.com/rvaiya/keyd/blob/master/docs/keyd.scdoc
|
||||
#?? keyd monitor
|
||||
keyboards.default.settings = {
|
||||
#// global.disable_modifier_guard = 1; # Disable extraneous Control injection
|
||||
|
@ -23,6 +24,13 @@ in {
|
|||
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
||||
shift.shift = "capslock"; # Both Shifts toggle Capslock
|
||||
|
||||
meta = {
|
||||
# Mouse repeat macro
|
||||
"," = "macro2(300, 100, leftmouse)";
|
||||
"." = "macro2(300, 100, rightmouse)";
|
||||
"/" = "macro2(300, 100, middlemouse)";
|
||||
};
|
||||
|
||||
# Emulate function keys
|
||||
function = {
|
||||
space = "playpause";
|
||||
|
|
Loading…
Add table
Reference in a new issue