We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8081dd1 commit 939518aCopy full SHA for 939518a
src/robotjs.cc
@@ -35,6 +35,8 @@ NAN_METHOD(moveMouse)
35
MMPoint point;
36
point = MMPointMake(x, y);
37
moveMouse(point);
38
+ microsleep(10);
39
+
40
NanReturnValue(NanNew("1"));
41
}
42
@@ -51,6 +53,8 @@ NAN_METHOD(moveMouseSmooth)
51
53
52
54
55
smoothlyMoveMouse(point);
56
57
58
59
60
@@ -100,6 +104,7 @@ NAN_METHOD(mouseClick)
100
104
101
105
102
106
clickMouse(button);
107
103
108
109
110
@@ -156,6 +161,7 @@ NAN_METHOD(mouseToggle)
156
161
157
162
158
163
toggleMouse(down, button);
164
159
165
160
166
167
0 commit comments