-
Notifications
You must be signed in to change notification settings - Fork 33
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
text and keyboard input #38
Comments
@Ganime422 |
Does the app support doing that? |
Yes. You can use ASCII Decimal codes and key_command. For example, this in my setup will (in Home Assistant) take a textbox and send each "letter" as the ord ASCII code:
The command is built like this:
It could be better, like I culd build an array for KEYLIST and send all the keys but it is very fast as is. So let's say you want to search for "Hot Ones" ... this code in Home Assistant takes that string and converts every letter to it's ASCII equivalent (i.e. "a" = 97) and sends that key stroke. It loops for the entire length of the string and sends all the keys. |
Can you provide some code snippet for reference? |
Convert to ASCII code then pass in code and give codeset = 0 |
hello
is there a way to send keyboard input and text? so for example instead of using the arrows on the TV, I would just write the text i need using a keyboard and the characters would be sent to the tv.
thanks
The text was updated successfully, but these errors were encountered: