| 327 | } |
| 328 | |
| 329 | bool ControllerAgent::long_press_key(LongPressKeyParam p) |
| 330 | { |
| 331 | auto id = post({ .type = Action::Type::long_press_key, .param = std::move(p) }); |
| 332 | return wait(id) == MaaStatus_Succeeded; |
| 333 | } |
| 334 | |
| 335 | bool ControllerAgent::key_down(ClickKeyParam p) |
| 336 | { |