diff options
Diffstat (limited to 'keyboards/planck/keymaps/jhenahan/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/jhenahan/keymap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/planck/keymaps/jhenahan/keymap.c b/keyboards/planck/keymaps/jhenahan/keymap.c index bf9735be8..ea63e9f27 100644 --- a/keyboards/planck/keymaps/jhenahan/keymap.c +++ b/keyboards/planck/keymaps/jhenahan/keymap.c | |||
| @@ -193,7 +193,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 193 | case WORKMAN: | 193 | case WORKMAN: |
| 194 | if (record->event.pressed) { | 194 | if (record->event.pressed) { |
| 195 | #ifdef AUDIO_ENABLE | 195 | #ifdef AUDIO_ENABLE |
| 196 | PLAY_NOTE_ARRAY(tone_workman, false, 0); | 196 | PLAY_SONG(tone_workman); |
| 197 | #endif | 197 | #endif |
| 198 | persistent_default_layer_set(1UL<<_WORKMAN); | 198 | persistent_default_layer_set(1UL<<_WORKMAN); |
| 199 | } | 199 | } |
| @@ -210,7 +210,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 210 | case QWERTY: | 210 | case QWERTY: |
| 211 | if (record->event.pressed) { | 211 | if (record->event.pressed) { |
| 212 | #ifdef AUDIO_ENABLE | 212 | #ifdef AUDIO_ENABLE |
| 213 | PLAY_NOTE_ARRAY(tone_qwerty, false, 0); | 213 | PLAY_SONG(tone_qwerty); |
| 214 | #endif | 214 | #endif |
| 215 | persistent_default_layer_set(1UL<<_QWERTY); | 215 | persistent_default_layer_set(1UL<<_QWERTY); |
| 216 | } | 216 | } |
| @@ -240,7 +240,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 240 | if (record->event.pressed) { | 240 | if (record->event.pressed) { |
| 241 | #ifdef AUDIO_ENABLE | 241 | #ifdef AUDIO_ENABLE |
| 242 | stop_all_notes(); | 242 | stop_all_notes(); |
| 243 | PLAY_NOTE_ARRAY(tone_plover, false, 0); | 243 | PLAY_SONG(tone_plover); |
| 244 | #endif | 244 | #endif |
| 245 | layer_off(_RAISE); | 245 | layer_off(_RAISE); |
| 246 | layer_off(_LOWER); | 246 | layer_off(_LOWER); |
| @@ -258,7 +258,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 258 | case EXT_PLV: | 258 | case EXT_PLV: |
| 259 | if (record->event.pressed) { | 259 | if (record->event.pressed) { |
| 260 | #ifdef AUDIO_ENABLE | 260 | #ifdef AUDIO_ENABLE |
| 261 | PLAY_NOTE_ARRAY(tone_plover_gb, false, 0); | 261 | PLAY_SONG(tone_plover_gb); |
| 262 | #endif | 262 | #endif |
| 263 | layer_off(_PLOVER); | 263 | layer_off(_PLOVER); |
| 264 | } | 264 | } |
| @@ -291,12 +291,12 @@ void matrix_init_user(void) { | |||
| 291 | void startup_user() | 291 | void startup_user() |
| 292 | { | 292 | { |
| 293 | _delay_ms(20); // gets rid of tick | 293 | _delay_ms(20); // gets rid of tick |
| 294 | PLAY_NOTE_ARRAY(tone_startup, false, 0); | 294 | PLAY_SONG(tone_startup); |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | void shutdown_user() | 297 | void shutdown_user() |
| 298 | { | 298 | { |
| 299 | PLAY_NOTE_ARRAY(tone_goodbye, false, 0); | 299 | PLAY_SONG(tone_goodbye); |
| 300 | _delay_ms(150); | 300 | _delay_ms(150); |
| 301 | stop_all_notes(); | 301 | stop_all_notes(); |
| 302 | } | 302 | } |
| @@ -308,7 +308,7 @@ void music_on_user(void) | |||
| 308 | 308 | ||
| 309 | void music_scale_user(void) | 309 | void music_scale_user(void) |
| 310 | { | 310 | { |
| 311 | PLAY_NOTE_ARRAY(music_scale, false, 0); | 311 | PLAY_SONG(music_scale); |
| 312 | } | 312 | } |
| 313 | 313 | ||
| 314 | #endif | 314 | #endif |
