get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key
| 1070 | // get_features() 返回 MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, |
| 1071 | // 上层 ControllerAgent 会使用 key_down/key_up 替代 click_key |
| 1072 | bool MessageInput::click_key(int key) |
| 1073 | { |
| 1074 | LogError << "deprecated: get_features() returns MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick, " |
| 1075 | "use key_down/key_up instead" |
| 1076 | << VAR(config_.mode) << VAR(config_.with_cursor_pos) << VAR(config_.with_window_pos) << VAR(key); |
| 1077 | return false; |
| 1078 | } |
| 1079 | |
| 1080 | bool MessageInput::input_text(const std::string& text) |
| 1081 | { |
nothing calls this directly
no outgoing calls
no test coverage detected