-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(keyboard): keep key pressed for multiple
keydown
events (#728)
* Initial POC * WIP: test * Fix types * Reduce getNextKeyDef complexity * Fix tests * Fix type import * Implement feedback on triggering event * fix: only trigger one `keyup` for repeated `keydown` * fix: do not leak `keyboardState.repeatKey` Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>
- Loading branch information
1 parent
fcbdf21
commit 5d946d5
Showing
5 changed files
with
331 additions
and
96 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
Oops, something went wrong.