设置控制器为不活跃状态 / Set controller to inactive state 对于 Win32 控制器,这会恢复窗口位置(取消置顶)并解除输入阻断。 对于其他控制器,这是一个空操作,总是成功。 For Win32 controllers, this restores window position (removes topmost) and unblocks user input. For other controllers, this is a no-op that always succee
(self)
| 361 | ) |
| 362 | |
| 363 | def post_inactive(self) -> Job: |
| 364 | """设置控制器为不活跃状态 / Set controller to inactive state |
| 365 | |
| 366 | 对于 Win32 控制器,这会恢复窗口位置(取消置顶)并解除输入阻断。 |
| 367 | 对于其他控制器,这是一个空操作,总是成功。 |
| 368 | |
| 369 | For Win32 controllers, this restores window position (removes topmost) and unblocks user |
| 370 | input. |
| 371 | For other controllers, this is a no-op that always succeeds. |
| 372 | |
| 373 | Returns: |
| 374 | Job: 作业对象,可通过 status/wait 查询状态 / Job object, can query status via status/wait |
| 375 | """ |
| 376 | ctrl_id = Library.framework().MaaControllerPostInactive(self._handle) |
| 377 | return self._gen_ctrl_job(ctrl_id) |
| 378 | |
| 379 | @property |
| 380 | def shell_output(self) -> str: |
nothing calls this directly
no test coverage detected