summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/jack/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox/keymaps/jack/keymap.c')
-rw-r--r--keyboards/ergodox/keymaps/jack/keymap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/ergodox/keymaps/jack/keymap.c b/keyboards/ergodox/keymaps/jack/keymap.c
index 8721b9644a..eb41f12127 100644
--- a/keyboards/ergodox/keymaps/jack/keymap.c
+++ b/keyboards/ergodox/keymaps/jack/keymap.c
@@ -26,7 +26,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
MO(1), KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,
RGB_TOG, RGB_HUI,
RGB_MOD,
- KC_PGDN, KC_SPC,KC_SPC
+ M(2), KC_SPC,KC_SPC
),
[SYMB] = KEYMAP(
// left hand
@@ -89,6 +89,11 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
eeconfig_init();
}
break;
+ case 2:
+ if (record->event.pressed) { // For resetting EEPROM
+ send_unicode_midi(0x0CA0);
+ }
+ break;
}
return MACRO_NONE;
};