1
0
Fork 0

Remove legacy international keycodes (#18588)

This commit is contained in:
Ryan 2022-10-09 14:51:09 +11:00 committed by GitHub
parent 48093000e1
commit 4b2d71de52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
243 changed files with 720 additions and 754 deletions

View file

@ -294,24 +294,24 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case EISU:
if (record->event.pressed) {
if(keymap_config.swap_lalt_lgui==false){
register_code(KC_LANG2);
register_code(KC_LNG2);
}else{
SEND_STRING(SS_LALT("`"));
}
} else {
unregister_code(KC_LANG2);
unregister_code(KC_LNG2);
}
return false;
break;
case KANA:
if (record->event.pressed) {
if(keymap_config.swap_lalt_lgui==false){
register_code(KC_LANG1);
register_code(KC_LNG1);
}else{
SEND_STRING(SS_LALT("`"));
}
} else {
unregister_code(KC_LANG1);
unregister_code(KC_LNG1);
}
return false;
break;