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

Method post_scroll

source/MaaFramework/Controller/ControllerAgent.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157MaaCtrlId ControllerAgent::post_scroll(int dx, int dy)
158{
159 ScrollParam p { .dx = dx, .dy = dy };
160 auto id = post({ .type = Action::Type::scroll, .param = std::move(p) });
161 return focus_id(id);
162}
163
164MaaCtrlId ControllerAgent::post_shell(const std::string& cmd, int64_t timeout)
165{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected