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

Method post_touch_move

source/MaaFramework/Controller/ControllerAgent.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122MaaCtrlId ControllerAgent::post_touch_move(int contact, int x, int y, int pressure)
123{
124 TouchParam p { .contact = contact, .point = { x, y }, .pressure = pressure };
125 auto id = post({ .type = Action::Type::touch_move, .param = std::move(p) });
126 return focus_id(id);
127}
128
129MaaCtrlId ControllerAgent::post_touch_up(int contact)
130{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected