diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-18 22:22:24 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-18 22:22:24 -0500 |
commit | 161bd5596b5d8199f2e56246a27ccbdb8c80bb36 (patch) | |
tree | b7d04688a4a9524b0a80363854d551c205df5d0d /keyboards/ergodox/keymaps | |
parent | 3774a7fcdab5544fc787f4c200be05fcd417e31f (diff) |
midi back and forth
Diffstat (limited to 'keyboards/ergodox/keymaps')
-rw-r--r-- | keyboards/ergodox/keymaps/jack/keymap.c | 7 |
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; }; |