diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2020-03-31 18:28:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 18:28:43 +0200 |
commit | bdfdc506da7702960bf3f6167a3a95f1230b0397 (patch) | |
tree | 7ff6d48d076fd04e55cb54320cc504d393985d80 /quantum/quantum_keycodes.h | |
parent | 51a81813b0191d95f3ed774cbc410579e606dc5c (diff) | |
download | qmk_firmware-bdfdc506da7702960bf3f6167a3a95f1230b0397.tar.gz qmk_firmware-bdfdc506da7702960bf3f6167a3a95f1230b0397.zip |
Rename UC_OSX (and related constants) to UC_MAC (#8589)
* Rename UC_OSX (and related constants) to UC_MAC
* Update UNICODE_SONG_OSX references to UNICODE_SONG_MAC
* Update UC_M_OS references to UC_M_MA
* Add UC_OSX alias for backwards compatibility
* Add deprecation warning for UC_OSX to Unicode docs
* Add UC_M_OS alias for backwards compatibility
* Update newly found UC_M_OS and UNICODE_SONG_OSX references
* Add legacy UNICODE_MODE_OSX alias, revert changes to user keymaps
* Add legacy UNICODE_SONG_OSX alias, revert changes to user keymaps
* Replace removed sounds in Unicode song doc examples
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 54428fe1f2..f6aac22341 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -459,7 +459,7 @@ enum quantum_keycodes { UNICODE_MODE_FORWARD, UNICODE_MODE_REVERSE, - UNICODE_MODE_OSX, + UNICODE_MODE_MAC, UNICODE_MODE_LNX, UNICODE_MODE_WIN, UNICODE_MODE_BSD, @@ -777,7 +777,9 @@ enum quantum_keycodes { #define UC_MOD UNICODE_MODE_FORWARD #define UC_RMOD UNICODE_MODE_REVERSE -#define UC_M_OS UNICODE_MODE_OSX +#define UC_M_MA UNICODE_MODE_MAC +#define UNICODE_MODE_OSX UNICODE_MODE_MAC // Deprecated alias +#define UC_M_OS UNICODE_MODE_MAC // Deprecated alias #define UC_M_LN UNICODE_MODE_LNX #define UC_M_WI UNICODE_MODE_WIN #define UC_M_BS UNICODE_MODE_BSD |