diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-15 23:38:21 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-15 23:38:21 -0400 |
commit | 0faa18eab996c2cfcc5da0b60b702f52335c5854 (patch) | |
tree | 33ed4babd10d6e8051edafa48f142e0e78aeeed5 /keyboard/planck/keymaps/default | |
parent | 91119636631f24bd1bf97f32c3d39f8828da625f (diff) |
audio enable stored in eeprom
Diffstat (limited to 'keyboard/planck/keymaps/default')
-rw-r--r-- | keyboard/planck/keymaps/default/keymap.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/planck/keymaps/default/keymap.c b/keyboard/planck/keymaps/default/keymap.c index 56092d04fb..3f34ba4120 100644 --- a/keyboard/planck/keymaps/default/keymap.c +++ b/keyboard/planck/keymaps/default/keymap.c @@ -135,7 +135,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [_AD] = { {_______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL}, - {_______, _______, _______, _______, _______, _______, _______, M(M_QW), M(M_CM), M(M_DV), _______, _______}, + {_______, _______, _______, _______, M(6), _______, _______, M(M_QW), M(M_CM), M(M_DV), _______, _______}, {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}, {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______} } @@ -231,6 +231,11 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) unregister_code(KC_RSFT); } break; + case 6: + if (record->event.pressed) { + audio_toggle(); + } + break; } return MACRO_NONE; }; |