get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
| 48 | // get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, |
| 49 | // 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key |
| 50 | bool MaatouchInput::click_key(int key) |
| 51 | { |
| 52 | LogError << "deprecated: get_features() returns MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, " |
| 53 | "use key_down/key_up instead" |
| 54 | << VAR(key); |
| 55 | return false; |
| 56 | } |
| 57 | |
| 58 | bool MaatouchInput::input_text(const std::string& text) |
| 59 | { |
nothing calls this directly
no outgoing calls
no test coverage detected