-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[windows] Adds support for keyboard mapping. #54227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
stuartmorgan-g
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.
Just tiny nits. Thanks for tackling this!
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
|
@googlebot I fixed it. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
This pull request is not suitable for automatic merging in its current state.
|
|
This added 4KB of gzipped size to the "hello world" app when compiled to the web. Is it possible to use |
|
@yjbanov , the string based switch makes it untreeshakable. For web i filed an issue long ago to treeshake keymaps out. However, this must be adding to ios/android code size as well, is there a size_compile_test for those that shows regression as well ? |


Description
Adds support for Windows keyboard, adding RawKeyEventDataWindows. The embedder counter part is a WIP PR.
Related Issues
#37710
Tests
Updated
raw_keyboard_test.dartand the event simulator.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.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].