Browse Source

Bringing over changes from default map.

Sean Reifschneider 8 năm trước cách đây
mục cha
commit
a25480b3b5
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      keyboards/ergodox/keymaps/jafo/keymap.c

+ 3 - 4
keyboards/ergodox/keymaps/jafo/keymap.c

@@ -1,6 +1,7 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "action_layer.h"
+#include "version.h"
 
 #define BASE 0 // default layer
 #define SYMB 1 // symbols
@@ -145,9 +146,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
       switch(id) {
         case 0:
         if (record->event.pressed) {
-          register_code(KC_RSFT);
-        } else {
-          unregister_code(KC_RSFT);
+          SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
         }
         break;
       }