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

Method click

source/MaaAdbControlUnit/Manager/InputAgent.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool InputAgent::click(int x, int y)
140{
141 if (!active_unit_) {
142 LogError << "No available input method" << VAR(active_unit_);
143 return false;
144 }
145
146 return active_unit_->click(x, y);
147}
148
149bool InputAgent::swipe(int x1, int y1, int x2, int y2, int duration)
150{

Callers

nothing calls this directly

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected