Skip to content

Commit

Permalink
emojis and sleep maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
olgam4 committed May 19, 2024
1 parent af58a54 commit d2f4afc
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions config/boards/shields/ponyta/ponyta.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
};

#define SMART_NUM &smart_num NUM 0
#define ACCENT_SYM &accent_sym SYM FRA

/ {
macros {
Expand All @@ -52,6 +51,28 @@
, <&macro_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
= <&macro_press &kp CAPS>
, <&macro_tap &kp E>
, <&macro_release &kp CAPS>
;
};
sleep: sleep {
compatible = "zmk,behavior-macro";
wait-ms = <5>;
tap-ms = <5>;
#binding-cells = <0>;
bindings
= <&macro_press &kp LGUI &kp LCTRL>
, <&macro_tap &kp Q>
, <&macro_release &kp LGUI &kp LCTRL>
;
};
};
behaviors {
as: auto_shift {
Expand Down Expand Up @@ -116,14 +137,6 @@
quick-tap-ms = <QUICK_TAP_MS>;
bindings = <&mo>, <&num_word>;
};
accent_sym: accent_sym {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <QUICK_TAP_MS>;
bindings = <&mo>, <&mo>;
};
};
keymap {
compatible = "zmk,keymap";
Expand All @@ -137,7 +150,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp Z &kp X &kp C &kp D &kp V &kp K &kp H &com_semi &dot_col &q_scream
// ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯
&kp RET SMART_NUM &kp ESC &kp SPACE ACCENT_SYM &bs_del
&kp RET SMART_NUM &kp ESC &kp SPACE &sl SYM &bs_del
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
>;
};
Expand All @@ -150,7 +163,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 &sl SYM &bs_del
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
>;
};
Expand All @@ -163,7 +176,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 &sl FRA &none
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
>;
};
Expand Down

0 comments on commit d2f4afc

Please sign in to comment.