aboutsummaryrefslogtreecommitdiff
path: root/users/sigma/sigma.c
diff options
context:
space:
mode:
authorYann Hodique <yann.hodique@gmail.com>2020-03-15 21:42:10 -0700
committerGitHub <noreply@github.com>2020-03-15 21:42:10 -0700
commitcce2420bb24f31ebaee22b4d6e54311ef78668c2 (patch)
tree7a529ea9166c4c698e6ad43e3a62fe4c46183aee /users/sigma/sigma.c
parentb272c035ba7fa8555a88c922b3e94c3f3817c4ff (diff)
downloadqmk_firmware-cce2420bb24f31ebaee22b4d6e54311ef78668c2.tar.gz
qmk_firmware-cce2420bb24f31ebaee22b4d6e54311ef78668c2.zip
[Keymap] fix sigma keymaps build (#8427)
handle unicode input properly.
Diffstat (limited to 'users/sigma/sigma.c')
-rw-r--r--users/sigma/sigma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/sigma/sigma.c b/users/sigma/sigma.c
index b2bf40d57..527925a63 100644
--- a/users/sigma/sigma.c
+++ b/users/sigma/sigma.c
@@ -64,6 +64,7 @@ void led_set_keymap(uint8_t usb_led) {}
64void set_os(uint8_t os) { 64void set_os(uint8_t os) {
65 runtime_userspace_config.os_target = os; 65 runtime_userspace_config.os_target = os;
66 66
67#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE)
67 switch (os) { 68 switch (os) {
68 case _OS_MACOS: 69 case _OS_MACOS:
69 set_unicode_input_mode(UC_OSX); 70 set_unicode_input_mode(UC_OSX);
@@ -75,6 +76,7 @@ void set_os(uint8_t os) {
75 set_unicode_input_mode(UC_WIN); 76 set_unicode_input_mode(UC_WIN);
76 break; 77 break;
77 } 78 }
79#endif
78} 80}
79 81
80void matrix_init_user(void) { 82void matrix_init_user(void) {