Skip to content

Commit

Permalink
Custom shift keys: call send_keyboard_report().
Browse files Browse the repository at this point in the history
#5
reports that the shift mod is not correctly cleared, e.g. for the custom
shift key `{KC_COMM, KC_SCLN}`, a `:` is typed instead of `;`. To test a
plausible fix, this commit adds a `send_keyboard_report()` call between
removing the shift mods and registering the keycode.
  • Loading branch information
getreuer committed Mar 3, 2022
1 parent 90267e0 commit df11113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/custom_shift_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record) {
#endif // NO_ACTION_ONESHOT
del_mods(MOD_MASK_SHIFT);
del_weak_mods(MOD_MASK_SHIFT);
send_keyboard_report();
registered_keycode = custom_shift_keys[i].shifted_keycode;
} else {
registered_keycode = custom_shift_keys[i].keycode;
Expand Down

0 comments on commit df11113

Please sign in to comment.