From 4fa87d408ea0ee3491bbac0a6bc60fd59394b750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dessureault?= Date: Thu, 9 May 2024 22:37:59 -0400 Subject: [PATCH] chore: add synth_test macro for debugging hyprland --- behaviors/mouse.dtsi | 8 ++++++++ config/urchin.keymap | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/behaviors/mouse.dtsi b/behaviors/mouse.dtsi index 971f628..d8713d8 100644 --- a/behaviors/mouse.dtsi +++ b/behaviors/mouse.dtsi @@ -45,6 +45,14 @@ ZMK_BEHAVIOR(mwh_tg, macro, bindings = <&kp KP_NUMLOCK &kp KP_NUMLOCK>; ) + +// Switch move/scroll on Ploopy Nano by pressing NumLock twice +ZMK_BEHAVIOR(synth_test, macro, bindings = + <¯o_tap_time 1>, + <¯o_wait_time 18>, + <&kp A &kp A>; +) + // Mouse Left Click - Index and Middle finger of left hand, active on all layers ZMK_COMBO(leftclick, &mkp LCLK, LT1 LT2, QWE COL ERG) diff --git a/config/urchin.keymap b/config/urchin.keymap index 7b10edc..c008fee 100644 --- a/config/urchin.keymap +++ b/config/urchin.keymap @@ -104,7 +104,7 @@ ZMK_LAYER(Symbols, ZMK_LAYER(Nav, // ╭───────────┬───────────┬───────────┬────────────┬────────────╮ ╭───────────┬─────────────┬─────────────┬────────────┬────────────╮ - &out OUT_TOG XXX XXX XXX &bt BT_CLR XXX XXX XXX XXX XXX + &out OUT_TOG XXX XXX XXX &bt BT_CLR XXX XXX XXX XXX &synth_test // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤ &sk LGUI &kp C_PREV &kp C_PP &kp C_NEXT XXX &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp INS // ├───────────┼───────────┼───────────┼────────────┼────────────┤ ├───────────┼─────────────┼─────────────┼────────────┼────────────┤