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

Method long_press

source/MaaFramework/Controller/ControllerAgent.cpp:281–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281bool ControllerAgent::long_press(LongPressParam p)
282{
283 auto id = post({ .type = Action::Type::long_press, .param = std::move(p) });
284 return wait(id) == MaaStatus_Succeeded;
285}
286
287bool ControllerAgent::swipe(SwipeParam p)
288{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected