]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/process_keycode/process_unicode_common.c
fixed two typos
[qmk_firmware.git] / quantum / process_keycode / process_unicode_common.c
index b4d4231dbddfb1432bde1f44ee85cb529be2814c..7f34ad57cfda08875e06816ed01d354723e2140b 100644 (file)
@@ -15,9 +15,9 @@
  */
 
 #include "process_unicode_common.h"
+#include "eeprom.h"
 
 static uint8_t input_mode;
-static uint8_t first_flag = 0;
 uint8_t mods;
 
 void set_unicode_input_mode(uint8_t os_target)
@@ -49,6 +49,9 @@ void unicode_input_start (void) {
   case UC_OSX:
     register_code(KC_LALT);
     break;
+  case UC_OSX_RALT:
+    register_code(KC_RALT);
+    break;
   case UC_LNX:
     register_code(KC_LCTL);
     register_code(KC_LSFT);
@@ -78,6 +81,9 @@ void unicode_input_finish (void) {
     case UC_WIN:
       unregister_code(KC_LALT);
       break;
+    case UC_OSX_RALT:
+      unregister_code(KC_RALT);
+      break;
     case UC_LNX:
       register_code(KC_SPC);
       unregister_code(KC_SPC);