AndroidTV/FireTV Keyboard

I’m currently using HADashboard to create a tablet based home theater remote. I’m using Harmony as the interface between HADashboard and my components. Everything is working great but as with all things, I wanted to go one step further. I want to be able to create a fully QWERTY keyboard using a HADashboard in order to type in apps like Youtube and Netflix. I have ADB implemented in order to display media data on the dashboard, so I thought that I might be able to us it, but it seems that there are only a limited set of commands I cant send.

Has anyone attempted something similar?

I ended up figuring out how to use the adb_command and input keyevents to create a keyboard. I attached an image of what it ended up looking like.

I would love to see tire code as well if possible

You need to send an input keyevent command. Check out this site it goes over it and has a chart of the keyevent codes

https://thecodeartist.blogspot.com/2011/03/simulating-keyevents-on-android-device.html

an example that I used to test inside developer tools, this sends 4.4 which while in live channel app changed the channel to OTA 4.4:

service: androidtv.adb_command
data:
  command: input keyevent 11 input keyevent 56 input keyevent 11
  
target:
  device_id: d9be4a16d344969a00e2c8b4e68ec91f
1 Like