about summary refs log tree commit diff
path: root/users/flokli/keyboards/corneish_zen/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-15T14·43+0200
committerclbot <clbot@tvl.fyi>2024-11-15T15·26+0000
commit3f1b326b3a6dfa5f319bad40b97885d3f9a049ff (patch)
tree773a875ac679b3c25acc6406ca46712cc741507e /users/flokli/keyboards/corneish_zen/default.nix
parented7aa322c6a525cf1640b1736537b4f838521741 (diff)
feat(users/flokli/kb): enable mouse support r/8932
This switches to a ZMK branch with support for mouse movement, and sets
MIRYOKU_KLUDGE_MOUSEKEYSPR so miryoku makes use of the functionality.

Change-Id: I3d4f48f10d50c202f909bec15189106a1bbcc1b3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12796
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/flokli/keyboards/corneish_zen/default.nix')
-rw-r--r--users/flokli/keyboards/corneish_zen/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/flokli/keyboards/corneish_zen/default.nix b/users/flokli/keyboards/corneish_zen/default.nix
index 5583cc929ee4..703359bd488c 100644
--- a/users/flokli/keyboards/corneish_zen/default.nix
+++ b/users/flokli/keyboards/corneish_zen/default.nix
@@ -3,8 +3,12 @@ rec {
   firmware = depot.users.flokli.keyboards.buildSplitKeyboard {
     name = "corneish_zen_v1";
     board = "corneish_zen_v1_%PART%";
-    zephyrDepsHash = "sha256-D5CAlrO/E6DPbtUJyh/ec8ACpo1XM1jx2gLS2TpklBQ=";
+    zephyrDepsHash = "sha256-Qe9G5YLEi9iG5QdmJCxcmQTpzUCBYkfa84zk7SVRSgQ=";
     src = depot.users.flokli.keyboards.miryoku_config;
+    extraCmakeFlags = [
+      "-DCONFIG_ZMK_MOUSE=y"
+      "-DCONFIG_ZMK_MOUSE_SMOOTH_SCROLLING=y"
+    ];
   };
 
   config-flat = depot.users.flokli.keyboards.mkFlatConfig "corneish_zen";