Skip to content

Commit 9336155

Browse files
committed
add howto
1 parent bed53c0 commit 9336155

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ XInputSimulator
22
===============
33

44
Cross (X) Plattform (Linux/Mac/Win) Simulator for input devices to simulate mouse moves/clicks/scrolls or keyboard keystrokes.
5+
=== How to use ===
6+
For a detailed example see main.cpp
57

8+
XInputSimulator &sim = XInputSimulator::getInstance();
9+
sim.mouseMoveTo(1,2);
10+
sim.mouseClick(1);
611

712
This program is published under the terms of the LGPL (http://www.gnu.org/licenses/)

0 commit comments

Comments
 (0)