Skip to content

Commit e79d32c

Browse files
committed
Update README.md
1 parent 21477a3 commit e79d32c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This program is published under the terms of the LGPL (http://www.gnu.org/licens
77
####How to use
88
For a detailed example see main.cpp
99
```cpp
10+
XInputSimulator &sim = XInputSimulator::getInstance();
11+
1012
sim.mouseMoveTo(500,400); //set mouse to screen cords 500x400
1113
sim.mouseMoveRelative(400, -100); //move frome there 400px in x to the right and -100px in y upwards
1214
sim.mouseDown(1); //press left mouse and hold

0 commit comments

Comments
 (0)