get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe
| 27 | // get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, |
| 28 | // 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe |
| 29 | bool LegacyEventInput::click(int x, int y) |
| 30 | { |
| 31 | LogError << "deprecated: get_features() returns MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, " |
| 32 | "use touch_down/touch_up instead" |
| 33 | << VAR(x) << VAR(y); |
| 34 | return false; |
| 35 | } |
| 36 | |
| 37 | bool LegacyEventInput::swipe(int x1, int y1, int x2, int y2, int duration) |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected