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

Method click_key

source/MaaWin32ControlUnit/Input/SeizeInput.cpp:182–188  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

180// get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick,
181// 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
182bool SeizeInput::click_key(int key)
183{
184 LogError << "deprecated: get_features() returns MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, "
185 "use key_down/key_up instead"
186 << VAR(key);
187 return false;
188}
189
190bool SeizeInput::input_text(const std::string& text)
191{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected