louis49 / androidtv-remote

MIT License
68 stars 23 forks source link

Send text, analog adb command: "shell input text" #35

Closed mirroringcontact closed 1 year ago

mirroringcontact commented 1 year ago

Hi. When keyboard on tv is shown i send letters one by one using adb.framework command "shell input text [char]". And it works. Now (with your framework) i'm trying androidRemote.sendKey(keyCode, RemoteDirection.SHORT); where keycodes for letters is: A = 29, B = 30, C = 31, D = 32, E = 33, F = 34

but it doesn't work

Maybe you can add some functions for sending text?

nandishyb commented 11 months ago

@mirroringcontact I see you closed this issue. By any chance did you find a way to send the payload for sending keyboard Text to andriod Tv?