1
0
Fork 0

add UC_OSX_RALT to make unicode use the Right Alt key on OSX

This commit is contained in:
Marco Fontani 2017-08-28 20:05:42 +02:00 committed by Jack Humbert
parent 9987f9dcff
commit da83f04a30
4 changed files with 10 additions and 2 deletions

View file

@ -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);