From a34b13f5aedc6e39fbb8cc5d41331c2bf4da8e61 Mon Sep 17 00:00:00 2001 From: Olivier Gamache Date: Sun, 19 May 2024 17:21:50 -0400 Subject: [PATCH] emojis and sleep maybe --- config/boards/shields/ponyta/ponyta.keymap | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/config/boards/shields/ponyta/ponyta.keymap b/config/boards/shields/ponyta/ponyta.keymap index c0121a6..cc1966e 100644 --- a/config/boards/shields/ponyta/ponyta.keymap +++ b/config/boards/shields/ponyta/ponyta.keymap @@ -52,6 +52,24 @@ , <¯o_tap &kp Q &kp U &kp E &kp B &kp E &kp C> ; }; + emojis: emojis { + compatible = "zmk,behavior-macro"; + wait-ms = <5>; + tap-ms = <5>; + #binding-cells = <0>; + bindings + = <¯o_tap &kp GLOBE &kp E> + ; + }; + sleep: sleep { + compatible = "zmk,behavior-macro"; + wait-ms = <5>; + tap-ms = <5>; + #binding-cells = <0>; + bindings + = <¯o_tap &kp LGUI &kp LCTRL &kp Q> + ; + }; }; behaviors { as: auto_shift { @@ -122,7 +140,7 @@ #binding-cells = <2>; tapping-term-ms = <200>; quick-tap-ms = ; - bindings = <&mo>, <&mo>; + bindings = <&sl>, <&mo>; }; }; keymap { @@ -150,7 +168,7 @@ // ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &com_semi &dot_col &q_scream // ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯ - &kp RET &mo 0 &kp ESC &kp SPACE &mo SYM &bs_del + &kp RET &mo 0 &kp ESC &kp SPACE ACCENT_SYM &bs_del // ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯ >; }; @@ -163,7 +181,7 @@ // ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &none &none &none &none &none // ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯ - &none &none &none &none &none &none + &emojis &sleep &none &none &none &none // ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯ >; };