diff options
author | Marco Fontani <MFONTANI@cpan.org> | 2017-08-28 20:05:42 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-30 11:38:03 -0400 |
commit | da83f04a30903a98b9a8dbe29c2d6cef4f9da3a7 (patch) | |
tree | aac5317daca48e2598e97a1e6f9484f39ab5d1a7 /quantum/process_keycode/process_unicode_common.c | |
parent | 9987f9dcffa8b33e09dc3147088a102df5a6da7d (diff) | |
download | qmk_firmware-da83f04a30903a98b9a8dbe29c2d6cef4f9da3a7.tar.gz qmk_firmware-da83f04a30903a98b9a8dbe29c2d6cef4f9da3a7.zip |
add UC_OSX_RALT to make unicode use the Right Alt key on OSX
Diffstat (limited to 'quantum/process_keycode/process_unicode_common.c')
-rw-r--r-- | quantum/process_keycode/process_unicode_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_unicode_common.c b/quantum/process_keycode/process_unicode_common.c index 84b5d673d..7f34ad57c 100644 --- a/quantum/process_keycode/process_unicode_common.c +++ b/quantum/process_keycode/process_unicode_common.c | |||
@@ -49,6 +49,9 @@ void unicode_input_start (void) { | |||
49 | case UC_OSX: | 49 | case UC_OSX: |
50 | register_code(KC_LALT); | 50 | register_code(KC_LALT); |
51 | break; | 51 | break; |
52 | case UC_OSX_RALT: | ||
53 | register_code(KC_RALT); | ||
54 | break; | ||
52 | case UC_LNX: | 55 | case UC_LNX: |
53 | register_code(KC_LCTL); | 56 | register_code(KC_LCTL); |
54 | register_code(KC_LSFT); | 57 | register_code(KC_LSFT); |
@@ -78,6 +81,9 @@ void unicode_input_finish (void) { | |||
78 | case UC_WIN: | 81 | case UC_WIN: |
79 | unregister_code(KC_LALT); | 82 | unregister_code(KC_LALT); |
80 | break; | 83 | break; |
84 | case UC_OSX_RALT: | ||
85 | unregister_code(KC_RALT); | ||
86 | break; | ||
81 | case UC_LNX: | 87 | case UC_LNX: |
82 | register_code(KC_SPC); | 88 | register_code(KC_SPC); |
83 | unregister_code(KC_SPC); | 89 | unregister_code(KC_SPC); |