diff options
author | Ben Sima <ben@bsima.me> | 2022-11-07 20:15:49 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-11-07 20:18:22 -0500 |
commit | c5a5e27b08f188e6e8d1c5764c239022e6657a8e (patch) | |
tree | a05389db158f1ed8a19bba9e57c3c55cc41d2988 | |
parent | 69bbe8c4c6252baa74931e6ad28f788654776691 (diff) |
Support trackball thing
-rw-r--r-- | machines/helium.nix | 5 |
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; |