Update unicode keycodes for consistency/easier merge

pull/4217/head
Drashna Jaelre 6 years ago
parent 8087acdec1
commit 08bab87444
No known key found for this signature in database
GPG Key ID: 4C4221222CD5F9F0

@ -153,19 +153,19 @@ bool process_record_unicode_common(uint16_t keycode, keyrecord_t *record) {
PLAY_SONG(UNICODE_OSX_SONG); PLAY_SONG(UNICODE_OSX_SONG);
#endif #endif
break; break;
case UNICODE_MODE_LINUX: 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_LINUX_SONG)
PLAY_SONG(UNICODE_LINUX_SONG); PLAY_SONG(UNICODE_LINUX_SONG);
#endif #endif
break; break;
case UNICODE_MODE_WINDOWS: 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_WINDOWS_SONG)
PLAY_SONG(UNICODE_WINDOWS_SONG); PLAY_SONG(UNICODE_WINDOWS_SONG);
#endif #endif
break; break;
case UNICODE_MODE_WIN_COMPOSE: 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_WIN_COMPOSE_SONG)
PLAY_SONG(UNICODE_WIN_COMPOSE_SONG); PLAY_SONG(UNICODE_WIN_COMPOSE_SONG);

@ -454,9 +454,9 @@ enum quantum_keycodes {
TERM_OFF, TERM_OFF,
#endif #endif
UNICODE_MODE_OSX, UNICODE_MODE_OSX,
UNICODE_MODE_LINUX, UNICODE_MODE_LNX,
UNICODE_MODE_WINDOWS, UNICODE_MODE_WIN,
UNICODE_MODE_WIN_COMPOSE, UNICODE_MODE_WINC,
UNICODE_MODE_OSX_RALT, UNICODE_MODE_OSX_RALT,
// always leave at the end // always leave at the end
@ -687,9 +687,9 @@ enum quantum_keycodes {
#endif #endif
#define UC_M_OS UNICODE_MODE_OSX #define UC_M_OS UNICODE_MODE_OSX
#define UC_M_LN UNICODE_MODE_LINUX #define UC_M_LN UNICODE_MODE_LNX
#define UC_M_WI UNICODE_MODE_WINDOWS #define UC_M_WI UNICODE_MODE_WIN
#define UC_M_WC UNICODE_MODE_WINCOMPOSE #define UC_M_WC UNICODE_MODE_WINC
#define UC_M_OR UNICODE_MODE_OSX_RALT #define UC_M_OR UNICODE_MODE_OSX_RALT
#ifdef SWAP_HANDS_ENABLE #ifdef SWAP_HANDS_ENABLE

Loading…
Cancel
Save