about summary refs log tree commit diff
path: root/users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-14T23·31+0200
committerclbot <clbot@tvl.fyi>2024-11-15T00·00+0000
commitc4459708697a85475a8ed4d03afdac565486c720 (patch)
treebff81656b30a620252b3fba94d0abf456dd9afbb /users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch
parent7a54360a39f4c5649a48fc6be919085170c4294c (diff)
feat(users/flokli/kb): add chocofi r/8922
`buildSplitKeyboard`, as well as all the patching of `miryoku_zmk` is
independent of the specific keyboard used, so it can be moved one layer
up.

`config-flat` is now provided through a helper function, accepting the
name of the keymap to use when rendering the config.

This all makes the amount of code added for the new keyboard itself
pleasantly small.

Change-Id: I2216aa246502eddaf9bc4f4d126b0639d574ad87
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12787
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch')
-rw-r--r--users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch b/users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch
new file mode 100644
index 000000000000..fc86c0627ddc
--- /dev/null
+++ b/users/flokli/keyboards/0001-miryoku_behaviors-add-quick-tap-ms-require-prior-idl.patch
@@ -0,0 +1,25 @@
+From 9ed3e8ee2aad704fcfef2490617e2fd22902b2c4 Mon Sep 17 00:00:00 2001
+From: Florian Klink <flokli@flokli.de>
+Date: Sun, 27 Oct 2024 12:01:13 +0100
+Subject: [PATCH] miryoku_behaviors: add quick-tap-ms, require-prior-idle-ms
+
+---
+ miryoku/miryoku_behaviors.dtsi | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/miryoku/miryoku_behaviors.dtsi b/miryoku/miryoku_behaviors.dtsi
+index 473df49..73211da 100644
+--- a/miryoku/miryoku_behaviors.dtsi
++++ b/miryoku/miryoku_behaviors.dtsi
+@@ -14,6 +14,8 @@
+       compatible = "zmk,behavior-hold-tap";
+       #binding-cells = <2>;
+       tapping-term-ms = <U_TAPPING_TERM>;
++      quick-tap-ms = <200>;
++      require-prior-idle-ms = <125>;
+       flavor = "tap-preferred";
+       bindings = <&mo>, <&kp>;
+     };
+-- 
+2.46.1
+