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

Method key_down

source/MaaFramework/Controller/ControllerAgent.cpp:335–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335bool ControllerAgent::key_down(ClickKeyParam p)
336{
337 auto id = post({ .type = Action::Type::key_down, .param = std::move(p) });
338 return wait(id) == MaaStatus_Succeeded;
339}
340
341bool ControllerAgent::key_up(ClickKeyParam p)
342{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected