about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-23 22:49:14 +0900
committersefidel <contact@sefidel.net>2024-08-23 22:49:14 +0900
commit94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7 (patch)
treefad3916a2f175088c517aa646885ab4e72332162
parent3868b75027a901f0a121d00d6a8347c1011d5a05 (diff)
downloadnixrc-94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7.tar.gz
nixrc-94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7.zip
feat(home/gui): set pointer speed for keyd virtual pointer
* used for kensington slimblade pro trackball
-rw-r--r--home/profiles/gui/config/sway.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index 36b1b95..e5f4f44 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -250,9 +250,11 @@ in
     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
+  # Kensington Slimblade Pro
+  # TODO: directly handle device?
+  input "4012:6878:keyd_virtual_pointer" {
+    accel_profile adaptive
+    pointer_accel 0.2
   }
 
   input type:keyboard {