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 54428fe1f..f6aac2234 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
@@ -459,7 +459,7 @@ enum quantum_keycodes { | |||
459 | 459 | ||
460 | UNICODE_MODE_FORWARD, | 460 | UNICODE_MODE_FORWARD, |
461 | UNICODE_MODE_REVERSE, | 461 | UNICODE_MODE_REVERSE, |
462 | UNICODE_MODE_OSX, | 462 | UNICODE_MODE_MAC, |
463 | UNICODE_MODE_LNX, | 463 | UNICODE_MODE_LNX, |
464 | UNICODE_MODE_WIN, | 464 | UNICODE_MODE_WIN, |
465 | UNICODE_MODE_BSD, | 465 | UNICODE_MODE_BSD, |
@@ -777,7 +777,9 @@ enum quantum_keycodes { | |||
777 | #define UC_MOD UNICODE_MODE_FORWARD | 777 | #define UC_MOD UNICODE_MODE_FORWARD |
778 | #define UC_RMOD UNICODE_MODE_REVERSE | 778 | #define UC_RMOD UNICODE_MODE_REVERSE |
779 | 779 | ||
780 | #define UC_M_OS UNICODE_MODE_OSX | 780 | #define UC_M_MA UNICODE_MODE_MAC |
781 | #define UNICODE_MODE_OSX UNICODE_MODE_MAC // Deprecated alias | ||
782 | #define UC_M_OS UNICODE_MODE_MAC // Deprecated alias | ||
781 | #define UC_M_LN UNICODE_MODE_LNX | 783 | #define UC_M_LN UNICODE_MODE_LNX |
782 | #define UC_M_WI UNICODE_MODE_WIN | 784 | #define UC_M_WI UNICODE_MODE_WIN |
783 | #define UC_M_BS UNICODE_MODE_BSD | 785 | #define UC_M_BS UNICODE_MODE_BSD |