From 2fe06e4ef53f380eee6e91ece44f6a385ec32c2c Mon Sep 17 00:00:00 2001 From: Christopher Browne Date: Mon, 13 Jun 2016 17:22:45 -0400 Subject: Simplify submitting my fave cbbrowne keystroke by using SEND_STRING() --- keyboard/planck/keymaps/cbbrowne/keymap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboard/planck/keymaps/cbbrowne/keymap.c') diff --git a/keyboard/planck/keymaps/cbbrowne/keymap.c b/keyboard/planck/keymaps/cbbrowne/keymap.c index 942efe4a2..041f4e608 100644 --- a/keyboard/planck/keymaps/cbbrowne/keymap.c +++ b/keyboard/planck/keymaps/cbbrowne/keymap.c @@ -3,6 +3,7 @@ #include "backlight.h" #endif #include "config_user.h" +#include "quantum.h" /* Each layer is given a name to aid in readability, which is then used in the keymap matrix below. The underscores do not denote @@ -131,7 +132,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) break; case M_USERNAME: if (record->event.pressed) { - return MACRO( I(1), T(C), T(B), T(B), T(R), T(O), T(W), T(N), T(E)); + SEND_STRING("cbbrowne"); + return MACRO_NONE ; } else { return MACRO_NONE ; } -- cgit v1.2.3-70-g09d2