From 6bc24096d6eb5def3476091b6f7a3f9a87913b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dessureault?= Date: Sun, 4 Aug 2024 00:39:59 -0400 Subject: [PATCH] debug: AGRA macro one param --- layouts/canadian-multilingual-standard.dtsi | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/layouts/canadian-multilingual-standard.dtsi b/layouts/canadian-multilingual-standard.dtsi index 5a270b3..0b1079d 100644 --- a/layouts/canadian-multilingual-standard.dtsi +++ b/layouts/canadian-multilingual-standard.dtsi @@ -71,19 +71,14 @@ ZMK_MACRO_ONE_PARAM(TREMA, bindings = ) // ` to input -ZMK_MACRO_TWO_PARAM(AGRA, bindings = - <&kp ACC_GR>, - <¯o_wait_time 500>, - <¯o_param_2to1>, - <¯o_press &kp MACRO_PLACEHOLDER>, +ZMK_MACRO_ONE_PARAM(AGRA, bindings = + <&kp RA(LBKT)>, <¯o_param_1to1>, - <¯o_tap &kp MACRO_PLACEHOLDER>, - <¯o_param_2to1>, - <¯o_release &kp MACRO_PLACEHOLDER>; + <¯o_tap &kp MACRO_PLACEHOLDER>; ) ZMK_MOD_MORPH(u_grave_, - bindings = <&AGRA U 0>, <&AGRA U LSHIFT>; + bindings = <&AGRA U>, <&AGRA LS(U)>; mods = <(MOD_LSFT|MOD_RSFT)>; )