summaryrefslogtreecommitdiffstats
path: root/keyboards/25keys/zinc/keymaps/ginjake/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/25keys/zinc/keymaps/ginjake/keymap.c')
-rw-r--r--keyboards/25keys/zinc/keymaps/ginjake/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/25keys/zinc/keymaps/ginjake/keymap.c b/keyboards/25keys/zinc/keymaps/ginjake/keymap.c
index 93dfc590e9..7bf5974974 100644
--- a/keyboards/25keys/zinc/keymaps/ginjake/keymap.c
+++ b/keyboards/25keys/zinc/keymaps/ginjake/keymap.c
@@ -283,24 +283,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;
@@ -333,7 +333,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
aqours_num++;
aqours_next_color_timer_count = 0;
target_col = 0;
- if (aqours_num == sizeof(aqours_h) / sizeof(int)) {
+ if (aqours_num == ARRAY_SIZE(aqours_h)) {
aqours_num = 0;
}
}