get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
| 121 | // get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, |
| 122 | // 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key |
| 123 | bool 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 | |
| 131 | bool LegacyEventInput::input_text(const std::string& text) |
| 132 | { |
nothing calls this directly
no outgoing calls
no test coverage detected