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

Method click_key

source/MaaWin32ControlUnit/Input/LegacyEventInput.cpp:123–129  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

121// get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick,
122// 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
123bool LegacyEventInput::click_key(int key)
124{
125 LogError << "deprecated: get_features() returns MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, "
126 "use key_down/key_up instead"
127 << VAR(key);
128 return false;
129}
130
131bool LegacyEventInput::input_text(const std::string& text)
132{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected