This PR adds an API endpoint that accepts text, parses each text character to a HID keystroke, and asynchronously sends all keystrokes to the target machine.
The background thread that writes the pasted text, is run in a "fire and forget" manner which means we no longer report on the success or failure of the HID file IO. However, a single write error will abort further keystrokes from being written.
Peer testing
You can test this PR on device via the following stacked PR:
Related https://github.com/tiny-pilot/tinypilot/issues/1026
This PR adds an API endpoint that accepts text, parses each text character to a HID keystroke, and asynchronously sends all keystrokes to the target machine.
Notes
Peer testing
You can test this PR on device via the following stacked PR: