Nerwyn / android-tv-card

Universal Customizable TV Remote Card, with HA actions, super configurable touchpad, slider, haptics, and keyboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard and international characters (Swedish in my case).

mindtripper opened this issue · comments

Checklist:

  • [v] I updated to the latest version available
  • [v] I cleared the cache of my browser

Release with the issue:
Latest at the time of posting.

Last working release (if known):
Unknown. Only tested with current version,

Browser and Operating System:
iPhone iOS latest version

Description of problem:
When using the keyboard function, I can only get English characters sent to my CCwGT. Being Swedish it would be great if "å, ä, ö" can be sent as well. Allowing searching for Swedish content. But when typing these characters on my iPhone nothing happens on the CCwGT.
Note: CCwGT is set to Swedish language and the on-screen keyboard displays the special characters.

Javascript errors shown in the web inspector (if applicable):


Your Full Remote Config

Additional information:

I'm able to recreate the issue on my end. I think this may be a limitation with adb since this card should just be sending the input character to the TV via adb. If I try calling adb.send_command from the services developer tool with command input text "ä" it says it is sent successfully but it doesn't show up on the TV. I am able to send accented characters via the Google TV app.

Looking online I do see other people running into the same issue but not any solutions I can implement. This may be something that isn't fixable until sending text via the Android Remote API is reversed engineered and added to the Home Assistant integration.

Note to self: look into performance of https://github.com/senzhk/ADBKeyBoard

Edit: While this keyboard does work, it takes over the whole screen and isn't a good user experience on Android TV.