From a127216e8f90f76a48898e3ece2ffc714885768d Mon Sep 17 00:00:00 2001 From: Matteo Dal Molin Date: Fri, 29 Nov 2024 18:39:54 +0100 Subject: [PATCH] try to fix macro --- boards/shields/swweeep/swweeep.keymap | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/boards/shields/swweeep/swweeep.keymap b/boards/shields/swweeep/swweeep.keymap index 8525804..48bba66 100644 --- a/boards/shields/swweeep/swweeep.keymap +++ b/boards/shields/swweeep/swweeep.keymap @@ -42,25 +42,28 @@ flavor = "balanced"; bindings = <&kp>, <&kp>; }; - sqm: macro { + }; + + macro { + sqm: macro_sqm { label = "SQM"; compatible = "zmk,behavior-macro"; - #binding-cells = <0>; - bindings = <&kp SQT>; // Single Quote (') + #binding-cells = <2>; + bindings = <&kp SQT>,<&kp SPACE>; // Single Quote (') }; - dqm: macro { + dqm: macro_dqm { label = "DQM"; compatible = "zmk,behavior-macro"; - #binding-cells = <0>; - bindings = <&kp DQT>; // Double Quote (") + #binding-cells = <2>; + bindings = <&kp DQT>,<&kp SPACE>; // Double Quote (") }; - bm: macro { + bm: macro_bm { label = "BM"; compatible = "zmk,behavior-macro"; - #binding-cells = <0>; - bindings = <&kp GRAVE>; // Backtick (`) + #binding-cells = <2>; + bindings = <&kp GRAVE>,<&kp SPACE>; // Backtick (`) }; };