diff options
-rw-r--r-- | keyboards/ergodox/keymaps/jafo/keymap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/jafo/keymap.c b/keyboards/ergodox/keymaps/jafo/keymap.c index c5f21bd82..4f1428f2b 100644 --- a/keyboards/ergodox/keymaps/jafo/keymap.c +++ b/keyboards/ergodox/keymaps/jafo/keymap.c | |||
@@ -1,6 +1,7 @@ | |||
1 | #include "ergodox_ez.h" | 1 | #include "ergodox.h" |
2 | #include "debug.h" | 2 | #include "debug.h" |
3 | #include "action_layer.h" | 3 | #include "action_layer.h" |
4 | #include "version.h" | ||
4 | 5 | ||
5 | #define BASE 0 // default layer | 6 | #define BASE 0 // default layer |
6 | #define SYMB 1 // symbols | 7 | #define SYMB 1 // symbols |
@@ -145,9 +146,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | |||
145 | switch(id) { | 146 | switch(id) { |
146 | case 0: | 147 | case 0: |
147 | if (record->event.pressed) { | 148 | if (record->event.pressed) { |
148 | register_code(KC_RSFT); | 149 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); |
149 | } else { | ||
150 | unregister_code(KC_RSFT); | ||
151 | } | 150 | } |
152 | break; | 151 | break; |
153 | } | 152 | } |