Update all of the songs

pull/4217/head
Drashna Jaelre 6 years ago
parent 0d64e6548b
commit 6840d80855
No known key found for this signature in database
GPG Key ID: 4C4221222CD5F9F0

@ -22,20 +22,23 @@
unicode_config_t unicode_config; unicode_config_t unicode_config;
static uint8_t saved_mods; static uint8_t saved_mods;
#ifdef AUDIO_ENABLE #ifdef AUDIO_ENABLE
#ifdef UNICODE_SONG_OSX
float osx_song[][2] = UNICODE_SONG_OSX;
#endif
#ifdef UNICODE_SONG_LNX #ifdef UNICODE_SONG_LNX
float song_lnx[][2] = UNICODE_SONG_LNX; float song_lnx[][2] = UNICODE_SONG_LNX;
#endif #endif
#ifdef UNICODE_WINDOWS_SONG #ifdef UNICODE_SONG_BSD
float windows_song[][2] = UNICODE_WINDOWS_SONG; float song_bsd[][2] = UNICODE_SONG_BSD;
#endif #endif
#ifdef UNICODE_WIN_COMPOSE_SONG #ifdef UNICODE_SONG_WINDOWS
float win_compose_song[][2] = UNICODE_WIN_COMPOSE_SONG; float windows_song[][2] = UNICODE_SONG_WINDOWS;
#endif #endif
#ifdef UNICODE_OSX_SONG #ifdef UNICODE_SONG_WIN_COMPOSE
float osx_song[][2] = UNICODE_OSX_SONG; float win_compose_song[][2] = UNICODE_SONG_WIN_COMPOSE;
#endif #endif
#ifdef UNICODE_OSX_RALT_SONG #ifdef UNICODE_SONG_OSX_RALT
float osx_ralt_song[][2] = UNICODE_OSX_RALT_SONG; float osx_ralt_song[][2] = UNICODE_SONG_OSX_RALT;
#endif #endif
#endif #endif
@ -150,32 +153,38 @@ bool process_record_unicode_common(uint16_t keycode, keyrecord_t *record) {
switch (keycode) { switch (keycode) {
case UNICODE_MODE_OSX: case UNICODE_MODE_OSX:
set_unicode_input_mode(UC_OSX); set_unicode_input_mode(UC_OSX);
#if defined(AUDIO_ENABLE) && defined(UNICODE_OSX_SONG) #if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_OSX)
PLAY_SONG(UNICODE_OSX_SONG); PLAY_SONG(osx_song);
#endif #endif
break; break;
case UNICODE_MODE_LNX: case UNICODE_MODE_LNX:
set_unicode_input_mode(UC_LNX); set_unicode_input_mode(UC_LNX);
#if defined(AUDIO_ENABLE) && defined(UNICODE_LINUX_SONG) #if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_LNX)
PLAY_SONG(song_lnx); PLAY_SONG(song_lnx);
#endif #endif
break; break;
case UNICODE_MODE_BSD:
set_unicode_input_mode(UC_BSD);
#if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_BSD)
PLAY_SONG(song_bsd);
#endif
break;
case UNICODE_MODE_WIN: case UNICODE_MODE_WIN:
set_unicode_input_mode(UC_WIN); set_unicode_input_mode(UC_WIN);
#if defined(AUDIO_ENABLE) && defined(UNICODE_WINDOWS_SONG) #if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_WINDOWS)
PLAY_SONG(UNICODE_WINDOWS_SONG); PLAY_SONG(windows_song);
#endif #endif
break; break;
case UNICODE_MODE_WINC: case UNICODE_MODE_WINC:
set_unicode_input_mode(UC_WINC); set_unicode_input_mode(UC_WINC);
#if defined(AUDIO_ENABLE) && defined(UNICODE_WIN_COMPOSE_SONG) #if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_WIN_COMPOSE)
PLAY_SONG(UNICODE_WIN_COMPOSE_SONG); PLAY_SONG(win_compose_song);
#endif #endif
break; break;
case UNICODE_MODE_OSX_RALT: case UNICODE_MODE_OSX_RALT:
set_unicode_input_mode(UC_OSX_RALT); set_unicode_input_mode(UC_OSX_RALT);
#if defined(AUDIO_ENABLE) && defined(UNICODE_OSX_RALT_SONG) #if defined(AUDIO_ENABLE) && defined(UNICODE_SONG_OSX_RALT)
PLAY_SONG(UNICODE_OSX_RALT_SONG); PLAY_SONG(osx_ralt_song);
#endif #endif
break; break;
} }

Loading…
Cancel
Save