| 345 | } |
| 346 | |
| 347 | bool ControllerAgent::input_text(InputTextParam p) |
| 348 | { |
| 349 | auto id = post({ .type = Action::Type::input_text, .param = std::move(p) }); |
| 350 | return wait(id) == MaaStatus_Succeeded; |
| 351 | } |
| 352 | |
| 353 | cv::Mat ControllerAgent::screencap() |
| 354 | { |