-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
intent for clipboard #413
Comments
IIUC, this allows to read from and write to the clipboard, not to actually generate the events (e.g. write text to the focused text field)?
ping #145 |
IMO, it is a good idea to transfer keysym to android, where the keysym cannot be simply decomposed. Such as Chinese words.
|
pasting into android is easy and works as expected. However I haven't figured out a way to automatically copy the text from android when the clipboard is changed. Currently I use Ctrl-c to grab the content directly. The intents are injected into the gnirehtet project for PoC only... https://github.com/amosbird/gnirehtet |
It was already possible to _paste_ (with Ctrl+v) the content of the computer clipboard on the device. Technically, it injects a sequence of events to generate the text. Add a new feature (Ctrl+Shift+v) to copy to the device clipboard instead, without injecting the content. Contrary to events injection, this preserves the UTF-8 content exactly, so the text is not broken by special characters. <#413>
Implemented on |
Hi, shall we have scrcpy handle some intent to get/set android clipboard directly instead of using keyboard event to copy/paste? https://stackoverflow.com/questions/14243427/set-clipboard-text-via-adb-shell-as-of-api-level-11
It also makes copy from android possible.
The text was updated successfully, but these errors were encountered: