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

Method post_key_up

source/MaaFramework/Controller/ControllerAgent.cpp:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150MaaCtrlId ControllerAgent::post_key_up(int keycode)
151{
152 ClickKeyParam p { .keycode = { keycode } };
153 auto id = post({ .type = Action::Type::key_up, .param = std::move(p) });
154 return focus_id(id);
155}
156
157MaaCtrlId ControllerAgent::post_scroll(int dx, int dy)
158{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected