| 389 | } |
| 390 | |
| 391 | bool ControllerAgent::handle_inactive() |
| 392 | { |
| 393 | if (!control_unit_) { |
| 394 | LogError << "control_unit_ is nullptr"; |
| 395 | return false; |
| 396 | } |
| 397 | |
| 398 | bool ret = control_unit_->inactive(); |
| 399 | |
| 400 | return ret; |
| 401 | } |
| 402 | |
| 403 | MaaCtrlId ControllerAgent::post(Action action) |
| 404 | { |