From c5a5e27b08f188e6e8d1c5764c239022e6657a8e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 7 Nov 2022 20:15:49 -0500 Subject: Support trackball thing --- machines/helium.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/helium.nix b/machines/helium.nix index 8b6a42c..f0869bc 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -111,6 +111,11 @@ in { xserver.autorun = true; xserver.layout = "us"; xserver.libinput.enable = true; + xserver.libinput.mouse.additionalOptions = '' + Option "ScrollMethod" "Button" + Option "ScrollButton" "3" + ''; + xserver.libinput.mouse.buttonMapping = "1 2 8 4 5 6 7 3 9"; xserver.xkbOptions = "caps:ctrl_modifier"; xserver.dpi = 331; -- cgit v1.2.3