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

Method long_press_key

source/MaaFramework/Controller/ControllerAgent.cpp:329–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329bool ControllerAgent::long_press_key(LongPressKeyParam p)
330{
331 auto id = post({ .type = Action::Type::long_press_key, .param = std::move(p) });
332 return wait(id) == MaaStatus_Succeeded;
333}
334
335bool ControllerAgent::key_down(ClickKeyParam p)
336{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected