-
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.
Achordion: pass hold events to process_record.
Fixes #11 Previously when Achordion settles a key as held, it would implement the hold action by calling `register_mods()` or `layer_on()` directly. However, this prevents subsequent handlers from responding to the event, as is needed for instance for the tap-dance-like trick described in https://github.com/filterpaper/qmk_userspace#tap-hold-macros This commit revises Achordion to pass hold events to `process_record()`. Additionally, this commit fixes a bug where Achordion would recursively receive and block its own tap release events. Thanks to @jweickm for reporting this.
- Loading branch information
Showing
2 changed files
with
97 additions
and
53 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
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