MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / click

Method click

source/MaaMacOSControlUnit/Manager/MacOSControlUnitMgr.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool MacOSControlUnitMgr::click(int x, int y)
114{
115 if (!input_) {
116 LogError << "input_ is nullptr";
117 return false;
118 }
119
120 return input_->click(x, y);
121}
122
123bool MacOSControlUnitMgr::swipe(int x1, int y1, int x2, int y2, int duration)
124{

Callers

nothing calls this directly

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected