title: How to remotely send keyboard events to embedded Qt Quick Application?
body: <p>I have an embedded Linux 3.10.17 system running a Qt Quick 5.2.1 application. It has a graphical UI that can be controlled by plugging in a USB keyboard. What I would like to do is to control the application remotely via a remote desktop connection to a Windows PC sitting next to the embedded system. Currently any STDIO is not sent in as keyboard events to the Qt application. Three ideas came to mind </p>
  
  <ol>
  <li><p>Modify Qt application to take in STDIO data so it acts on those events. I thought this would be a common thing to do, but so far my searches has not yielded any good solutions. </p></li>
  <li><p>Create a Linux kernel driver that sends any keycodes received through a char device write (pipe) through the input subsystem. Something like this should be available I'd think...</p></li>
  <li><p>Buy some form device that plugs into the embedded system via USB and connects to the PC via USB, RS232 or Ethernet.</p></li>
  </ol>
  
  <p>I'm not sure which path offers the least resistance. Any expert advice on this would be appreciated </p>
  
  <p>Thanks, </p>
  
  <p>Otto</p>