Nvidia Shield TV + VirtualHere (automation question)

Hello,

I've run into an obstacle in my setup. I have a keyboard device connected to the Nvidia Shield TV directly, that is then controlling my PC via VirtualHere.
With a start command and a bat file (vhui64.exe -t "USE, etc"), I have successfully made it so that the keyboard can control the Nvidia Shield TV just fine until I connect to the PC (which runs the bat file). At which points the PC correctly takes control of the keyboard.
The problem is that no matter what I try, the keyboard can never go back to controlling the Nvidia Shield TV unless I physically remove and reconnect the dongle in the port. This includes:

  • stop using on the keyboard in Virtual here
  • Running a bat file that correctly disconnects the keyboard (vhui64.exe -t "STOP USING,etc")
  • Killing the vhui64.exe

Is there any way to give the keyboard control back to the Nvidia Shield TV after it connects even once to VirtualHere?

Thank you.

#2

Looks like a bug in Android running on the Shield. When virtualhere stops using a USB device it always returns it to back to the Android Host for local use.

#3

Yeah, I was thinking it had to do with Android unsuccessfully re-grabbing the devices.
Do you have any idea what I could try?

#4

What keyboard is it? A logitech one with the 2.4Ghz dongle?

#5

Yes exactly, it's the Logitech K400 Plus, connected via the 2.4 GHz dongle.

#6

If you have a normal old style wired keyboard see if that works reconnecting back. If so then its something with the dongle. Perhaps the dongle goes to sleep or something