diff options
Diffstat (limited to 'keyboards/planck/keymaps/emilyh/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/emilyh/keymap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/planck/keymaps/emilyh/keymap.c b/keyboards/planck/keymaps/emilyh/keymap.c index 4a8a7d0c5..3beadd8e2 100644 --- a/keyboards/planck/keymaps/emilyh/keymap.c +++ b/keyboards/planck/keymaps/emilyh/keymap.c | |||
| @@ -187,7 +187,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 187 | case QWERTY: | 187 | case QWERTY: |
| 188 | if (record->event.pressed) { | 188 | if (record->event.pressed) { |
| 189 | #ifdef AUDIO_ENABLE | 189 | #ifdef AUDIO_ENABLE |
| 190 | PLAY_NOTE_ARRAY(tone_qwerty, false, 0); | 190 | PLAY_SONG(tone_qwerty); |
| 191 | #endif | 191 | #endif |
| 192 | persistant_default_layer_set(1UL<<_QWERTY); | 192 | persistant_default_layer_set(1UL<<_QWERTY); |
| 193 | } | 193 | } |
| @@ -196,7 +196,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 196 | case COLEMAK: | 196 | case COLEMAK: |
| 197 | if (record->event.pressed) { | 197 | if (record->event.pressed) { |
| 198 | #ifdef AUDIO_ENABLE | 198 | #ifdef AUDIO_ENABLE |
| 199 | PLAY_NOTE_ARRAY(tone_colemak, false, 0); | 199 | PLAY_SONG(tone_colemak); |
| 200 | #endif | 200 | #endif |
| 201 | persistant_default_layer_set(1UL<<_COLEMAK); | 201 | persistant_default_layer_set(1UL<<_COLEMAK); |
| 202 | } | 202 | } |
| @@ -205,7 +205,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 205 | case DVORAK: | 205 | case DVORAK: |
| 206 | if (record->event.pressed) { | 206 | if (record->event.pressed) { |
| 207 | #ifdef AUDIO_ENABLE | 207 | #ifdef AUDIO_ENABLE |
| 208 | PLAY_NOTE_ARRAY(tone_dvorak, false, 0); | 208 | PLAY_SONG(tone_dvorak); |
| 209 | #endif | 209 | #endif |
| 210 | persistant_default_layer_set(1UL<<_DVORAK); | 210 | persistant_default_layer_set(1UL<<_DVORAK); |
| 211 | } | 211 | } |
| @@ -246,7 +246,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 246 | if (record->event.pressed) { | 246 | if (record->event.pressed) { |
| 247 | #ifdef AUDIO_ENABLE | 247 | #ifdef AUDIO_ENABLE |
| 248 | stop_all_notes(); | 248 | stop_all_notes(); |
| 249 | PLAY_NOTE_ARRAY(tone_plover, false, 0); | 249 | PLAY_SONG(tone_plover); |
| 250 | #endif | 250 | #endif |
| 251 | layer_off(_RAISE); | 251 | layer_off(_RAISE); |
| 252 | layer_off(_LOWER); | 252 | layer_off(_LOWER); |
| @@ -264,7 +264,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 264 | case EXT_PLV: | 264 | case EXT_PLV: |
| 265 | if (record->event.pressed) { | 265 | if (record->event.pressed) { |
| 266 | #ifdef AUDIO_ENABLE | 266 | #ifdef AUDIO_ENABLE |
| 267 | PLAY_NOTE_ARRAY(tone_plover_gb, false, 0); | 267 | PLAY_SONG(tone_plover_gb); |
| 268 | #endif | 268 | #endif |
| 269 | layer_off(_PLOVER); | 269 | layer_off(_PLOVER); |
| 270 | } | 270 | } |
| @@ -285,12 +285,12 @@ void matrix_init_user(void) { | |||
| 285 | void startup_user() | 285 | void startup_user() |
| 286 | { | 286 | { |
| 287 | _delay_ms(20); // gets rid of tick | 287 | _delay_ms(20); // gets rid of tick |
| 288 | PLAY_NOTE_ARRAY(tone_startup, false, 0); | 288 | PLAY_SONG(tone_startup); |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | void shutdown_user() | 291 | void shutdown_user() |
| 292 | { | 292 | { |
| 293 | PLAY_NOTE_ARRAY(tone_goodbye, false, 0); | 293 | PLAY_SONG(tone_goodbye); |
| 294 | _delay_ms(150); | 294 | _delay_ms(150); |
| 295 | stop_all_notes(); | 295 | stop_all_notes(); |
| 296 | } | 296 | } |
| @@ -302,7 +302,7 @@ void music_on_user(void) | |||
| 302 | 302 | ||
| 303 | void music_scale_user(void) | 303 | void music_scale_user(void) |
| 304 | { | 304 | { |
| 305 | PLAY_NOTE_ARRAY(music_scale, false, 0); | 305 | PLAY_SONG(music_scale); |
| 306 | } | 306 | } |
| 307 | 307 | ||
| 308 | #endif | 308 | #endif |
