feat(macOS): add UTF-8 keyboard text input - #98
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #98 +/- ##
==========================================
- Coverage 75.47% 75.33% -0.14%
==========================================
Files 34 34
Lines 8133 8161 +28
Branches 3044 3066 +22
==========================================
+ Hits 6138 6148 +10
- Misses 1454 1718 +264
+ Partials 541 295 -246
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Implement KeyboardTextEvent handling in the macOS backend by converting UTF-8 text to UTF-16 and posting Unicode key-down/key-up CoreGraphics events with current modifier flags. Update platform support docs to mark keyboard text input as supported, and expand macOS backend tests/fixtures to cover successful text input, empty input, invalid UTF-8 rejection, and behavior after device close.
0da072b to
f814c43
Compare
|
|
@mkrusen could I request that you give this a test with Sunshine? I'm only asking as I don't have any macOS device to test on. |
|
I can't test this as I have no macOS device, but going to assume it works. If not feel free to file a bug report. |



Description
Implement KeyboardTextEvent handling in the macOS backend by converting UTF-8 text to UTF-16 and posting Unicode key-down/key-up CoreGraphics events with current modifier flags. Update platform support docs to mark keyboard text input as supported, and expand macOS backend tests/fixtures to cover successful text input, empty input, invalid UTF-8 rejection, and behavior after device close.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.