diff options
author | sefidel <contact@sefidel.net> | 2024-08-23 22:49:14 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-08-23 22:49:14 +0900 |
commit | 94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7 (patch) | |
tree | fad3916a2f175088c517aa646885ab4e72332162 /home/profiles/gui/config | |
parent | 3868b75027a901f0a121d00d6a8347c1011d5a05 (diff) | |
download | nixrc-94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7.tar.gz nixrc-94b30d510b60ba6a9f6b4e21f4a811d3fcc298a7.zip |
feat(home/gui): set pointer speed for keyd virtual pointer
* used for kensington slimblade pro trackball
Diffstat (limited to 'home/profiles/gui/config')
-rw-r--r-- | home/profiles/gui/config/sway.nix | 8 |
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 { |