title: Is there something like xinput but for output instead
body: <p>I just found out that you can use <code>xinput</code> to sniff key strokes across apps running on <code>X</code> </p>
  
  <p>Is there something similar but to output data to whatever app has the focus now?</p>
  
  <p>I would like to implement something like an autocomplete or smart suggestion program that listens for your keystrokes across applications and makes smart suggestion</p>
  
  <p>e.g listen to whatever happens on the browser then if you switch to terminal or your text editor you can reuse some of that data. </p>