MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / middleRandomClick

Method middleRandomClick

src/utils/clicker.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void Clicker::middleRandomClick()
145{
146 POINT mouse_pos;
147
148 while (_run) {
149 GetCursorPos(&mouse_pos);
150 mouse_event(MOUSEEVENTF_MIDDLEDOWN | MOUSEEVENTF_MIDDLEUP, mouse_pos.x, mouse_pos.y, 0, 0);
151 msleep(QRandomGenerator::global()->bounded(0, _max_random_interval));
152 }
153}
154#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected