File tree Expand file tree Collapse file tree 3 files changed +77
-19
lines changed Expand file tree Collapse file tree 3 files changed +77
-19
lines changed Original file line number Diff line number Diff line change @@ -34,25 +34,25 @@ int main()
34
34
XInputSimulator &sim = XInputSimulator::getInstance ();
35
35
waitABit ();
36
36
waitABit ();
37
- sim.mouseMoveTo (500 ,400 );
38
- waitABit ();
39
- sim.mouseMoveRelative (400 , -100 );
40
- waitABit ();
41
- sim.mouseDown (1 );
42
- waitABit ();
43
- sim.mouseMoveRelative (0 , 300 );
44
- waitABit ();
45
- sim.mouseUp (1 );
46
- waitABit ();
47
- // scroll down and up
48
- sim.mouseScrollY (10 );
49
- waitABit ();
50
- sim.mouseScrollY (-10 );
51
- // scroll left and right
52
- waitABit ();
53
- sim.mouseScrollX (10 );
54
- waitABit ();
55
- sim.mouseScrollX (-10 );
37
+ // sim.mouseMoveTo(500,400);
38
+ // waitABit();
39
+ // sim.mouseMoveRelative(400, -100);
40
+ // waitABit();
41
+ // sim.mouseDown(1);
42
+ // waitABit();
43
+ // sim.mouseMoveRelative(0, 300);
44
+ // waitABit();
45
+ // sim.mouseUp(1);
46
+ // waitABit();
47
+ // //scroll down and up
48
+ // sim.mouseScrollY(10);
49
+ // waitABit();
50
+ // sim.mouseScrollY(-10);
51
+ // //scroll left and right
52
+ // waitABit();
53
+ // sim.mouseScrollX(10);
54
+ // waitABit();
55
+ // sim.mouseScrollX(-10);
56
56
57
57
58
58
waitABit ();
Original file line number Diff line number Diff line change
1
+
2
+ // Copyright 2013 Dustin Bensing
3
+
4
+ // This file is part of XInputSimulator.
5
+
6
+ // XInputSimulator is free software: you can redistribute it and/or modify
7
+ // it under the terms of the GNU Lesser Public License as published by
8
+ // the Free Software Foundation, either version 3 of the License, or
9
+ // any later version.
10
+
11
+ // XInputSimulator is distributed in the hope that it will be useful,
12
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ // GNU Lesser Public License for more details.
15
+
16
+ // You should have received a copy of the GNU Lesser Public License
17
+ // along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ #ifdef _WIN32
20
+
21
+ #include " xinputsimularotimplwin.h"
22
+
23
+ XInputSimularotImplWin::XInputSimularotImplWin ()
24
+ {
25
+ }
26
+
27
+ #endif // win
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 Dustin Bensing
2
+
3
+ // This file is part of XInputSimulator.
4
+
5
+ // XInputSimulator is free software: you can redistribute it and/or modify
6
+ // it under the terms of the GNU Lesser Public License as published by
7
+ // the Free Software Foundation, either version 3 of the License, or
8
+ // any later version.
9
+
10
+ // XInputSimulator is distributed in the hope that it will be useful,
11
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ // GNU Lesser Public License for more details.
14
+
15
+ // You should have received a copy of the GNU Lesser Public License
16
+ // along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17
+
18
+ #ifdef _WIN32
19
+
20
+ #ifndef XINPUTSIMULAROTIMPLWIN_H
21
+ #define XINPUTSIMULAROTIMPLWIN_H
22
+
23
+ class XInputSimularotImplWin
24
+ {
25
+ public:
26
+ XInputSimularotImplWin ();
27
+ };
28
+
29
+ #endif // XINPUTSIMULAROTIMPLWIN_H
30
+
31
+ #endif // win
You can’t perform that action at this time.
0 commit comments