]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Simplify submitting my fave cbbrowne keystroke by using SEND_STRING()
authorChristopher Browne <cbbrowne@ca.afilias.info>
Mon, 13 Jun 2016 21:22:45 +0000 (17:22 -0400)
committerChristopher Browne <cbbrowne@ca.afilias.info>
Mon, 13 Jun 2016 21:22:45 +0000 (17:22 -0400)
keyboard/planck/keymaps/cbbrowne/config_user.h
keyboard/planck/keymaps/cbbrowne/keymap.c

index 5e7c2622d5212f43ee373aac88968cfe7bf1053b..de46ec6aaad1c369f0fb0cb9d44012fb1fb21efb 100644 (file)
@@ -4,3 +4,4 @@
 #define randmul 181
 #define randmod 167
 
+
index 942efe4a29cc7c1b282d7e2568b888fd7c931e46..041f4e608e4db8ef551c6ca8e818a7741ed19153 100644 (file)
@@ -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 ;
     }