Skip to content

Commit 0414a93

Browse files
committed
win files
1 parent 0827f38 commit 0414a93

File tree

3 files changed

+77
-19
lines changed

3 files changed

+77
-19
lines changed

XInputSimulator/main.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ int main()
3434
XInputSimulator &sim = XInputSimulator::getInstance();
3535
waitABit();
3636
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);
5656

5757

5858
waitABit();
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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

0 commit comments

Comments
 (0)