about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-23 22:48:43 +0900
committersefidel <contact@sefidel.net>2024-08-23 22:48:43 +0900
commit3868b75027a901f0a121d00d6a8347c1011d5a05 (patch)
tree184993a68ed9ac91f40aa1511c0a152e53eaeef5
parent14139b04fef9e8ec8394c72e6fd2e654c2fa03b3 (diff)
downloadnixrc-3868b75027a901f0a121d00d6a8347c1011d5a05.tar.gz
nixrc-3868b75027a901f0a121d00d6a8347c1011d5a05.zip
feat(modules/keyd-qol): customise buttons on slimblade pro
-rw-r--r--modules/keyd-qol.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/keyd-qol.nix b/modules/keyd-qol.nix
index 2f720d7..8d97089 100644
--- a/modules/keyd-qol.nix
+++ b/modules/keyd-qol.nix
@@ -31,6 +31,23 @@
           };
         };
       };
+
+      kensington_trackball = {
+        ids = [
+          # Slimblade Pro
+          "047d:80d4"
+        ];
+        settings = {
+          main = {
+            # MIDDLE / MOUSE1
+            # LEFT   / RIGHT
+            middlemouse = "middlemouse";
+            mouse1 = "rightmouse";
+            leftmouse = "leftmouse";
+            rightmouse = "back";
+          };
+        };
+      };
     };
   };
 }