From 94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 23 Aug 2024 22:49:14 +0900 Subject: feat(home/gui): set pointer speed for keyd virtual pointer * used for kensington slimblade pro trackball --- home/profiles/gui/config/sway.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'home/profiles/gui') 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 { -- cgit 1.4.1