get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe
| 206 | // get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, |
| 207 | // 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe |
| 208 | bool GamepadControlUnitMgr::click(int x, int y) |
| 209 | { |
| 210 | LogError << "deprecated: get_features() returns MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, " |
| 211 | "use touch_down/touch_up instead" |
| 212 | << VAR(x) << VAR(y); |
| 213 | return false; |
| 214 | } |
| 215 | |
| 216 | bool GamepadControlUnitMgr::swipe(int x1, int y1, int x2, int y2, int duration) |
| 217 | { |
nothing calls this directly
no outgoing calls
no test coverage detected