-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Select Word: Revise to avoid possible edge cases.
Motivated by #26, this commit makes a few tweaks to avoid what look like bugs in certain edge case situations. Thanks to @windhausen for reporting this: * On initial press, always clear the non-Shift mods. * Change uses of `register_code()` on mod keys to `register_mods()`. * Change uses of `SEND_STRING` to `tap_code()` calls, since the former is not supported on non-Latin layouts. * Mac, don't use the Ctrl+A / Crtl+E , since KC_A and KC_E might be remapped to other meanings if the OS is set to a non-US QWERTY layout. Instead use GUI+Left / GUI+Right. * Streamline to eliminate sending a unnecessary keyboard reports around setting and clearing mods.
- Loading branch information
Showing
1 changed file
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters