diff options
Diffstat (limited to 'keyboards/planck/keymaps/jeebak/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/jeebak/keymap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/planck/keymaps/jeebak/keymap.c b/keyboards/planck/keymaps/jeebak/keymap.c index 7b9a68113..e7cf00113 100644 --- a/keyboards/planck/keymaps/jeebak/keymap.c +++ b/keyboards/planck/keymaps/jeebak/keymap.c | |||
| @@ -280,7 +280,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 280 | case QWERTY: | 280 | case QWERTY: |
| 281 | if (record->event.pressed) { | 281 | if (record->event.pressed) { |
| 282 | #ifdef AUDIO_ENABLE | 282 | #ifdef AUDIO_ENABLE |
| 283 | PLAY_NOTE_ARRAY(tone_qwerty, false, 0); | 283 | PLAY_SONG(tone_qwerty); |
| 284 | #endif | 284 | #endif |
| 285 | default_layer_set(1UL<<_QWERTY); | 285 | default_layer_set(1UL<<_QWERTY); |
| 286 | } | 286 | } |
| @@ -289,7 +289,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 289 | case COLEMAK: | 289 | case COLEMAK: |
| 290 | if (record->event.pressed) { | 290 | if (record->event.pressed) { |
| 291 | #ifdef AUDIO_ENABLE | 291 | #ifdef AUDIO_ENABLE |
| 292 | PLAY_NOTE_ARRAY(tone_colemak, false, 0); | 292 | PLAY_SONG(tone_colemak); |
| 293 | #endif | 293 | #endif |
| 294 | default_layer_set(1UL<<_COLEMAK); | 294 | default_layer_set(1UL<<_COLEMAK); |
| 295 | } | 295 | } |
| @@ -298,7 +298,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 298 | case DVORAK: | 298 | case DVORAK: |
| 299 | if (record->event.pressed) { | 299 | if (record->event.pressed) { |
| 300 | #ifdef AUDIO_ENABLE | 300 | #ifdef AUDIO_ENABLE |
| 301 | PLAY_NOTE_ARRAY(tone_dvorak, false, 0); | 301 | PLAY_SONG(tone_dvorak); |
| 302 | #endif | 302 | #endif |
| 303 | default_layer_set(1UL<<_DVORAK); | 303 | default_layer_set(1UL<<_DVORAK); |
| 304 | } | 304 | } |
| @@ -339,7 +339,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 339 | if (record->event.pressed) { | 339 | if (record->event.pressed) { |
| 340 | #ifdef AUDIO_ENABLE | 340 | #ifdef AUDIO_ENABLE |
| 341 | stop_all_notes(); | 341 | stop_all_notes(); |
| 342 | PLAY_NOTE_ARRAY(tone_plover, false, 0); | 342 | PLAY_SONG(tone_plover); |
| 343 | #endif | 343 | #endif |
| 344 | layer_off(_RAISE); | 344 | layer_off(_RAISE); |
| 345 | layer_off(_LOWER); | 345 | layer_off(_LOWER); |
| @@ -357,7 +357,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 357 | case EXT_PLV: | 357 | case EXT_PLV: |
| 358 | if (record->event.pressed) { | 358 | if (record->event.pressed) { |
| 359 | #ifdef AUDIO_ENABLE | 359 | #ifdef AUDIO_ENABLE |
| 360 | PLAY_NOTE_ARRAY(tone_plover_gb, false, 0); | 360 | PLAY_SONG(tone_plover_gb); |
| 361 | #endif | 361 | #endif |
| 362 | layer_off(_PLOVER); | 362 | layer_off(_PLOVER); |
| 363 | } | 363 | } |
| @@ -436,12 +436,12 @@ void matrix_init_user(void) { | |||
| 436 | void startup_user() | 436 | void startup_user() |
| 437 | { | 437 | { |
| 438 | _delay_ms(20); // gets rid of tick | 438 | _delay_ms(20); // gets rid of tick |
| 439 | PLAY_NOTE_ARRAY(tone_startup, false, 0); | 439 | PLAY_SONG(tone_startup); |
| 440 | } | 440 | } |
| 441 | 441 | ||
| 442 | void shutdown_user() | 442 | void shutdown_user() |
| 443 | { | 443 | { |
| 444 | PLAY_NOTE_ARRAY(tone_goodbye, false, 0); | 444 | PLAY_SONG(tone_goodbye); |
| 445 | _delay_ms(150); | 445 | _delay_ms(150); |
| 446 | stop_all_notes(); | 446 | stop_all_notes(); |
| 447 | } | 447 | } |
| @@ -453,7 +453,7 @@ void music_on_user(void) | |||
| 453 | 453 | ||
| 454 | void music_scale_user(void) | 454 | void music_scale_user(void) |
| 455 | { | 455 | { |
| 456 | PLAY_NOTE_ARRAY(music_scale, false, 0); | 456 | PLAY_SONG(music_scale); |
| 457 | } | 457 | } |
| 458 | 458 | ||
| 459 | #endif | 459 | #endif |
