aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorItsWaffie <[email protected]>2021-03-18 00:48:52 -0600
committerItsWaffie <[email protected]>2021-03-18 00:48:52 -0600
commit5d9f15dd69a5d42a0d5493e41127e13da61a0e39 (patch)
tree7a9b1aa8753da148d064eec7fbd7aae6fe8a2882 /config
parentf72a94492f1e8f44e260a5155d401d8752709dfd (diff)
downloadzmk_build-5d9f15dd69a5d42a0d5493e41127e13da61a0e39.tar.gz
zmk_build-5d9f15dd69a5d42a0d5493e41127e13da61a0e39.zip
Add combos
Diffstat (limited to 'config')
-rw-r--r--config/corne.keymap45
1 files changed, 45 insertions, 0 deletions
diff --git a/config/corne.keymap b/config/corne.keymap
index d8f41d9..d167c4c 100644
--- a/config/corne.keymap
+++ b/config/corne.keymap
@@ -8,6 +8,51 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
+&mt {
+ tapping_term_ms = <420>;
+};
+
+ / {
+ combos {
+ compatible = "zmk,combos";
+ combo_ent {
+ timeout-ms = <50>;
+ key-positions = <4 7>;
+ bindings = <&kp ENTER>;
+ };
+ combo_quote {
+ timeout-ms = <50>;
+ key-positions = <17 18>;
+ bindings = <&kp SQT>;
+ };
+ combo_ques {
+ timeout-ms = <50>;
+ key-positions = <28 31>;
+ bindings = <&kp QUESTION>;
+ };
+ combo_dquote {
+ timeout-ms = <50>;
+ key-positions = <27 31>;
+ bindings = <&kp DQT>;
+ };
+ combo_col {
+ timeout-ms = <50>;
+ key-positions = <5 6>;
+ bindings = <&kp COLON>;
+ };
+ combo_unds {
+ timeout-ms = <50>;
+ key-positions = <29 30>;
+ bindings = <&kp UNDER>;
+ };
+ combo_mins {
+ timeout-ms = <50>;
+ key-positions = <16 19>;
+ bindings = <&kp MINUS>;
+ };
+ };
+};
+
/ {
keymap {
compatible = "zmk,keymap";