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

Method rightRandomClick

src/utils/clicker.cpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void Clicker::rightRandomClick()
134{
135 POINT mouse_pos;
136
137 while (_run) {
138 GetCursorPos(&mouse_pos);
139 mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, mouse_pos.x, mouse_pos.y, 0, 0);
140 msleep(QRandomGenerator::global()->bounded(0, _max_random_interval));
141 }
142}
143
144void Clicker::middleRandomClick()
145{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected