aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2023-11-07 13:32:14 +0000
committer0scar <qgt268@alumni.ku.dk>2023-11-07 13:32:14 +0000
commitfa3cbc92a0913875d4437165da0d881e8a4dd9f4 (patch)
tree5f2cd72bd66b8466b37a426d62a4e445c81829f5
parentf3674a01e29bd7a8f6c49ec6a18783304d19268b (diff)
Add lalt & change escape
-rw-r--r--config/cradio.keymap22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/cradio.keymap b/config/cradio.keymap
index 9663342..0987008 100644
--- a/config/cradio.keymap
+++ b/config/cradio.keymap
@@ -40,6 +40,28 @@
// then-layer = <SETTINGS>;
// };
// };
+ combos {
+ compatible = "zmk,combos";
+ combo_compose {
+ timeout-ms = <50>;
+ key-positions = <32 33>;
+ bindings = <&kp LALT>;
+ layers = <0 1>;
+ };
+ };
+
+
+ macros {
+ escape_to_layer: escape_to_layer {
+ label = "escape_to_layer";
+ compatible = "zmk,behavior-macro";
+ #binding-cells = <0>;
+ bindings
+ = <&macro_tap &kp ESC>
+ , <&macro_tap &to BASE>
+ ;
+ };
+ };
keymap {
compatible = "zmk,keymap";