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;
|
enable = true;
|
||||||
|
|
||||||
#!! Binds use qwerty without layouts
|
#!! Binds use qwerty without layouts
|
||||||
|
# https://github.com/rvaiya/keyd/blob/master/docs/keyd.scdoc
|
||||||
#?? keyd monitor
|
#?? keyd monitor
|
||||||
keyboards.default.settings = {
|
keyboards.default.settings = {
|
||||||
#// global.disable_modifier_guard = 1; # Disable extraneous Control injection
|
#// global.disable_modifier_guard = 1; # Disable extraneous Control injection
|
||||||
|
@ -23,6 +24,13 @@ in {
|
||||||
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
control.esc = "toggle(qwerty)"; # Control+Esc toggles qwerty
|
||||||
shift.shift = "capslock"; # Both Shifts toggle Capslock
|
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
|
# Emulate function keys
|
||||||
function = {
|
function = {
|
||||||
space = "playpause";
|
space = "playpause";
|
||||||
|
|
Loading…
Add table
Reference in a new issue