get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe
| 853 | // get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, |
| 854 | // 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe |
| 855 | bool MessageInput::click(int x, int y) |
| 856 | { |
| 857 | LogError << "deprecated: get_features() returns MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, " |
| 858 | "use touch_down/touch_up instead" |
| 859 | << VAR(config_.mode) << VAR(config_.with_cursor_pos) << VAR(config_.with_window_pos) << VAR(x) << VAR(y); |
| 860 | return false; |
| 861 | } |
| 862 | |
| 863 | bool MessageInput::swipe(int x1, int y1, int x2, int y2, int duration) |
| 864 | { |
nothing calls this directly
no outgoing calls
no test coverage detected