Skip to content

Commit

Permalink
ROM節約4
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoru NAKAYA authored and Satoru NAKAYA committed Dec 26, 2023
1 parent 79af2b8 commit dca5a97
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions users/naginata_v15m/twpair_on_jis.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ bool twpair_on_jis(uint16_t keycode, keyrecord_t *record) {
if (((us2jis[i][1] & QK_LSFT) == QK_LSFT) == shifted) {
tap_code(us2jis[i][1]);
} else if (shifted) {
del_mods(mods_lsft);
del_mods(mods_rsft);
del_mods(mods_lsft | mods_rsft);
tap_code(us2jis[i][1]);
add_mods(mods_lsft);
add_mods(mods_rsft);
add_mods(mods_lsft | mods_rsft);
} else {
add_mods(MOD_BIT(KC_LSFT));
tap_code(us2jis[i][1]);
Expand Down

0 comments on commit dca5a97

Please sign in to comment.