title: How can I script a virtual keyboard and/or mouse, and send the output ONLY to one program?
body: <p>I am looking for a way to script mouse clicks and key presses, and pipe them to a particular program without interfering with the mouse and keyboard output to other programs the way a utility like autopy or PyUserInput do.  I want only one particular program to "think" that the mouse is being moved in a particular way, or certain keys are being pressed.</p>
  
  <p>A python solution that works in Linux would be best.</p>