This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Hardware Keyboard: Windows #23465
Merged
Merged
Hardware Keyboard: Windows #23465
Conversation
This file contains hidden or 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 was referenced Jan 6, 2021
|
I can't see any conflicts but would appreicate it if you could take a look at #23573 to ensure this will work with / not break the forthcoming UWP embedder. Thx! |
Contributor
Author
|
@gspencergoog @cbracken I've added the feature to synthesize events to keep synchronized with the true states from Win32's |
Member
|
Ping @gspencergoog. This is also on @cbracken s backlog. But I know both are super busy ATM, so not sure this is will be reviewed immediately. Are there other reviewers we can find for this? |
gspencergoog
suggested changes
Feb 23, 2021
Contributor
Author
|
@gspencergoog I addressed all comments, PTAL |
gspencergoog
approved these changes
Feb 26, 2021
Contributor
gspencergoog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Feb 27, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Feb 27, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Feb 27, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Feb 27, 2021
hjfreyer
pushed a commit
to hjfreyer/engine
that referenced
this pull request
Mar 22, 2021
Windows changes for the Hardware Keyboard project.
chriscraws
pushed a commit
to chriscraws/engine
that referenced
this pull request
Mar 23, 2021
Windows changes for the Hardware Keyboard project.
13 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Description
This PR contains the Windows changes for the Hardware Keyboard project.
Classes has been adjusted as follows:
Other changes
The code for skipping
VK_PROCESSKEYevents have been moved fromWin32Windowto embedder delegates. This is because the key up events for these presses have normal virtual keys, but also need filtering, which requires more delicate key press tracking.The logic for handling asynchronous event redispatching has been refactored to handle crashing in several cases. Now the two phases have different identifiers.
pending_responses_.sequence_ids.pending_redispatches_.hash.The crash that lead to this refactor is explained in test
KeyboardKeyHandlerTest/WithSlowFrameworkResponse.Related Issues
Tests
I added the following tests:
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.Reviewer Checklist
Breaking Change
Did any tests fail when you ran them? Please read handling breaking changes.