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

Method post_touch_down

source/MaaFramework/Controller/ControllerAgent.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115MaaCtrlId ControllerAgent::post_touch_down(int contact, int x, int y, int pressure)
116{
117 TouchParam p { .contact = contact, .point = { x, y }, .pressure = pressure };
118 auto id = post({ .type = Action::Type::touch_down, .param = std::move(p) });
119 return focus_id(id);
120}
121
122MaaCtrlId ControllerAgent::post_touch_move(int contact, int x, int y, int pressure)
123{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected