Open
Description
The embedder API supports a new way for sending key events for quite some time now:
- https://github.com/flutter/engine/blob/bde8d452466580b9b6230a98008c5c77450c8fd4/shell/platform/embedder/embedder.h#L931-L1000
- https://github.com/flutter/engine/blob/bde8d452466580b9b6230a98008c5c77450c8fd4/shell/platform/embedder/embedder.h#L2095-L2119
Support this instead of just the old flutter/keyevent
channel, since otherwise the flutter keyboard manager has to synthesize the new HardwareKeyboard
-style KeyEvent
s from the old RawKeyboard
-style RawKeyEvent
s, with a bit of information loss (the produced text characters):