From fa3cbc92a0913875d4437165da0d881e8a4dd9f4 Mon Sep 17 00:00:00 2001 From: 0scar Date: Tue, 7 Nov 2023 14:32:14 +0100 Subject: Add lalt & change escape --- config/cradio.keymap | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'config') 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 = ; // }; // }; + 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 + = <¯o_tap &kp ESC> + , <¯o_tap &to BASE> + ; + }; + }; keymap { compatible = "zmk,keymap"; -- cgit v1.3