diff options
author | QMK Bot <[email protected]> | 2023-10-09 22:17:19 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2023-10-09 22:17:19 +0000 |
commit | 0e5f7ac3ba8320299d52ccb38e3941c4e2b0d4ce (patch) | |
tree | 7c62e320b370a307936bd2e417c96104c1ee7468 | |
parent | 81d69a5798e4cebf75f7c6b5ab16c5ecb19f2ae2 (diff) | |
parent | 509a2b40b798fd79a9d78b65e4daeb78cecf17ea (diff) | |
download | qmk_firmware-0e5f7ac3ba8320299d52ccb38e3941c4e2b0d4ce.tar.gz qmk_firmware-0e5f7ac3ba8320299d52ccb38e3941c4e2b0d4ce.zip |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | docs/feature_unicode.md | 4 | ||||
-rw-r--r-- | keyboards/yampad/keymaps/default/keymap.c | 1 | ||||
-rw-r--r-- | keyboards/yampad/keymaps/via/keymap.c | 1 | ||||
-rw-r--r-- | keyboards/yampad/yampad.c | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/docs/feature_unicode.md b/docs/feature_unicode.md index 341084f926..2c6d2ef002 100644 --- a/docs/feature_unicode.md +++ b/docs/feature_unicode.md @@ -140,7 +140,7 @@ To set the list of enabled input modes, add the `UNICODE_SELECTED_MODES` define ```c #define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX // or -#define UNICODE_SELECTED_MODES UNICODE_MODE_MAC, UNICODE_MODE_WINCOMPOSE +#define UNICODE_SELECTED_MODES UNICODE_MODE_MACOS, UNICODE_MODE_WINCOMPOSE ``` These modes can then be cycled through using the `UC_NEXT` and `UC_PREV` keycodes. You can also switch to any input mode, even if it is not specified in `UNICODE_SELECTED_MODES`, using their respective keycodes. @@ -151,7 +151,7 @@ If your keyboard has working EEPROM, it will remember the last used input mode a ### ** macOS ** -**Mode Name:** `UNICODE_MODE_MAC` +**Mode Name:** `UNICODE_MODE_MACOS` macOS has built-in support for Unicode input as its own input source. It supports all possible code points by way of surrogate pairs for code points above `U+FFFF`. diff --git a/keyboards/yampad/keymaps/default/keymap.c b/keyboards/yampad/keymaps/default/keymap.c index f54d4f33b0..61e6d8ff74 100644 --- a/keyboards/yampad/keymaps/default/keymap.c +++ b/keyboards/yampad/keymaps/default/keymap.c @@ -22,6 +22,7 @@ SOFTWARE. */ #include QMK_KEYBOARD_H +#include <stdio.h> // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. diff --git a/keyboards/yampad/keymaps/via/keymap.c b/keyboards/yampad/keymaps/via/keymap.c index f54d4f33b0..61e6d8ff74 100644 --- a/keyboards/yampad/keymaps/via/keymap.c +++ b/keyboards/yampad/keymaps/via/keymap.c @@ -22,6 +22,7 @@ SOFTWARE. */ #include QMK_KEYBOARD_H +#include <stdio.h> // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can have a layer called STUFF or any other name. diff --git a/keyboards/yampad/yampad.c b/keyboards/yampad/yampad.c index 45b0c42484..94eac85089 100644 --- a/keyboards/yampad/yampad.c +++ b/keyboards/yampad/yampad.c @@ -15,6 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "quantum.h" +#include <stdio.h> #if defined(OLED_ENABLE) oled_rotation_t oled_init_kb(oled_rotation_t rotation) { |