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

Method middleClick

src/utils/clicker.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void Clicker::middleClick()
112{
113 POINT mouse_pos;
114
115 while (_run) {
116 GetCursorPos(&mouse_pos);
117 mouse_event(MOUSEEVENTF_MIDDLEDOWN | MOUSEEVENTF_MIDDLEUP, mouse_pos.x, mouse_pos.y, 0, 0);
118 msleep(_interval);
119 }
120}
121
122void Clicker::leftRandomClick()
123{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected