summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-11-07 20:15:49 -0500
committerBen Sima <ben@bsima.me>2022-11-07 20:18:22 -0500
commitc5a5e27b08f188e6e8d1c5764c239022e6657a8e (patch)
treea05389db158f1ed8a19bba9e57c3c55cc41d2988 /machines
parent69bbe8c4c6252baa74931e6ad28f788654776691 (diff)
Support trackball thing
Diffstat (limited to 'machines')
-rw-r--r--machines/helium.nix5
1 files changed, 5 insertions, 0 deletions
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;