diff --git a/ruysch-graphical.nix b/ruysch-graphical.nix index 4bd00f8..03c5177 100644 --- a/ruysch-graphical.nix +++ b/ruysch-graphical.nix @@ -284,4 +284,16 @@ ''; }; }; + + services.evdevremapkeys = { + enable = true; + settings.devices = [ { + input_name = "Logitech MX Vertical"; + output_name = "mx-vertical-remapped"; + remappings = { + BTN_EXTRA = [ "BTN_MIDDLE" ]; + BTN_SIDE = [ "BTN_MIDDLE" ]; + }; + } ]; + }; }