summaryrefslogtreecommitdiff
path: root/keyboards/yushakobo
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-09 14:51:09 +1100
committerGitHub <noreply@github.com>2022-10-09 14:51:09 +1100
commit4b2d71de52b561c77da4bdb2275b1c6bb2415f54 (patch)
treeac426ed6aee862bb16a38c83429a7d64d10a5f8f /keyboards/yushakobo
parent48093000e1a8fbe7fc25a43aea3f75913a634d53 (diff)
Remove legacy international keycodes (#18588)
Diffstat (limited to 'keyboards/yushakobo')
-rw-r--r--keyboards/yushakobo/quick17/keymaps/default/keymap.c8
-rw-r--r--keyboards/yushakobo/quick17/keymaps/via/keymap.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/yushakobo/quick17/keymaps/default/keymap.c b/keyboards/yushakobo/quick17/keymaps/default/keymap.c
index 37e59ad4a9..07a28ce7c6 100644
--- a/keyboards/yushakobo/quick17/keymaps/default/keymap.c
+++ b/keyboards/yushakobo/quick17/keymaps/default/keymap.c
@@ -52,16 +52,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
tap_code16(LALT(KC_GRV));
} else {
if(input_mode()){
- register_code(KC_LANG2);
+ register_code(KC_LNG2);
set_input_mode(false);
} else {
- register_code(KC_LANG1);
+ register_code(KC_LNG1);
set_input_mode(true);
}
}
} else {
- unregister_code(KC_LANG1);
- unregister_code(KC_LANG2);
+ unregister_code(KC_LNG1);
+ unregister_code(KC_LNG2);
}
break;
default:
diff --git a/keyboards/yushakobo/quick17/keymaps/via/keymap.c b/keyboards/yushakobo/quick17/keymaps/via/keymap.c
index 37e59ad4a9..07a28ce7c6 100644
--- a/keyboards/yushakobo/quick17/keymaps/via/keymap.c
+++ b/keyboards/yushakobo/quick17/keymaps/via/keymap.c
@@ -52,16 +52,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
tap_code16(LALT(KC_GRV));
} else {
if(input_mode()){
- register_code(KC_LANG2);
+ register_code(KC_LNG2);
set_input_mode(false);
} else {
- register_code(KC_LANG1);
+ register_code(KC_LNG1);
set_input_mode(true);
}
}
} else {
- unregister_code(KC_LANG1);
- unregister_code(KC_LANG2);
+ unregister_code(KC_LNG1);
+ unregister_code(KC_LNG2);
}
break;
default: