Go to file
2013-07-14 17:15:14 +02:00
XInputSimulator added linux mouseDown mouseUp mouseClick 2013-07-14 17:02:06 +02:00
.gitignore first non working version 2013-07-14 13:52:02 +02:00
README.md moved lgpl 2013-07-14 17:15:14 +02:00

XInputSimulator

Cross (X) Plattform (Linux/Mac/Win) Simulator for input devices to simulate mouse moves/clicks/scrolls or keyboard keystrokes.

This program is published under the terms of the LGPL (http://www.gnu.org/licenses/) ####How to use For a detailed example see main.cpp

  sim.mouseMoveTo(500,400);         //set mouse to screen cords 500x400
  sim.mouseMoveRelative(400, -100); //move frome there 400px in x to the right and -100px in y upwards
  sim.mouseDown(1);                 //press left mouse and hold
  sim.mouseMoveRelative(0, 300);    //drag/mark with pressed mousebutton 300px down
  sim.mouseUp(1);                   //release the mousebutton press

####Status 2013-07-14: only the Linux part with following functions

mouseMoveTo  
mouseMoveRelative  
mouseDown  
mouseUp  
mouseClick