From 6b32d3a59352b102f815eb83803d6491c4f1e6da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20B=C3=B6hm?= Date: Fri, 23 Feb 2024 16:24:27 +0100 Subject: [PATCH] Update macros.dtsi added key holds to macros because didnt find in interface --- config/macros.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/macros.dtsi b/config/macros.dtsi index e714e478f8..183d2cd381 100644 --- a/config/macros.dtsi +++ b/config/macros.dtsi @@ -2,13 +2,13 @@ macro_screenshot_full: macro_screenshot_full{ compatible = "zmk,behavior-macro"; label = "macro_screenshot_full"; #binding-cells = <0>; -bindings = <&sk LEFT_COMMAND>, <&sk LEFT_SHIFT>, <&kp NUMBER_3>; +bindings = <¯o_press &kp LSHFT &kp LEFT_COMMAND>, <¯o_tap &kp NUMBER_3>, <¯o_release &kp LSHFT &kp LEFT_COMMAND>; }; macro_screenshot_rect: macro_screenshot_rect{ compatible = "zmk,behavior-macro"; label = "macro_screenshot_rect"; #binding-cells = <0>; -bindings = <&sk LEFT_COMMAND>, <&sk LEFT_SHIFT>, <&kp NUMBER_4>; +bindings = <¯o_press &kp LSHFT &kp LEFT_COMMAND>, <¯o_tap &kp NUMBER_4>, <¯o_release &kp LSHFT &kp LEFT_COMMAND>; }; macro_app_switch: macro_app_switch{ compatible = "zmk,behavior-macro"; @@ -20,7 +20,7 @@ macro_tot: macro_tot{ compatible = "zmk,behavior-macro"; label = "macro_tot"; #binding-cells = <0>; -bindings = <&sk LCTRL>, <&sk LEFT_ALT>, <&sk LEFT_COMMAND>, <&kp T>; +bindings = <¯o_press &kp LCTRL &kp LEFT_ALT &kp LEFT_COMMAND>, <¯o_tap &kp t>, <¯o_release &kp LCTRL &kp LEFT_ALT &kp LEFT_COMMAND> }; macro_quotes: macro_quotes{ compatible = "zmk,behavior-macro"; @@ -57,4 +57,4 @@ compatible = "zmk,behavior-macro"; label = "macro_kinesis"; #binding-cells = <0>; bindings = <&kp LS(K)>, <&kp I>, <&kp N>, <&kp E>, <&kp S>, <&kp I>, <&kp S>; -}; \ No newline at end of file +};