about summary refs log tree commit diff
path: root/users/flokli/keyboards/chocofi/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/chocofi/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/chocofi/default.nix')
-rw-r--r--users/flokli/keyboards/chocofi/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/flokli/keyboards/chocofi/default.nix b/users/flokli/keyboards/chocofi/default.nix
index b8343f9592cc..a023173eaae1 100644
--- a/users/flokli/keyboards/chocofi/default.nix
+++ b/users/flokli/keyboards/chocofi/default.nix
@@ -4,8 +4,12 @@ rec {
     name = "nice_nano_v2";
     board = "nice_nano_v2";
     shield = "corne_%PART% nice_view_adapter nice_view";
-    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 "corne";