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

Method click_key

source/MaaAdbControlUnit/EmulatorExtras/MuMuPlayerExtras.cpp:195–201  ·  view source on GitHub ↗

get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key

Source from the content-addressed store, hash-verified

193// get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick,
194// 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
195bool MuMuPlayerExtras::click_key(int key)
196{
197 LogError << "deprecated: get_features() returns MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, "
198 "use key_down/key_up instead"
199 << VAR(key);
200 return false;
201}
202
203bool MuMuPlayerExtras::input_text(const std::string& text)
204{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected