about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-11 16:54:03 +0900
committersefidel <contact@sefidel.net>2023-08-11 16:54:03 +0900
commitb11648c397585720e7077e1a5ca37e0f071b6c3b (patch)
tree33d5340dbf5eae5da7c58ef1d80a9e6e722d870b /home
parent675ca3776c7ee9f9440c3ba32fd07b421951071c (diff)
downloadnixrc-b11648c397585720e7077e1a5ca37e0f071b6c3b.tar.gz
nixrc-b11648c397585720e7077e1a5ca37e0f071b6c3b.zip
feat(home/gui): disable acceleration on trackball
Diffstat (limited to 'home')
-rw-r--r--home/profiles/gui/config/sway.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index eb4248c..3671ed3 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -220,6 +220,11 @@ with neotheme.colors;
     tap_button_map lmr          #1Finger > Left Click , 2Finger > Right Click, 3Fingers > MiddleClick
   }
 
+  input "1149:8264:Primax_Kensington_Eagle_Trackball" {
+    accel_profile flat
+    pointer_accel 0
+  }
+
   input type:keyboard {
     repeat_rate 40
     repeat_delay 350