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

Method post_click_key

source/MaaFramework/Controller/ControllerAgent.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81MaaCtrlId ControllerAgent::post_click_key(int keycode)
82{
83 ClickKeyParam p { .keycode = { keycode } };
84 auto id = post({ .type = Action::Type::click_key, .param = std::move(p) });
85 return focus_id(id);
86}
87
88MaaCtrlId ControllerAgent::post_input_text(const std::string& text)
89{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected