Z4Sight_RegisterIOWatcher
Register hook function and invoke command.
Syntax
C++
Python
def Z4Sight_RegisterIOWatcher( state: Z4Sight_State, inInput: int, inHooks: list[Z4SightHook], /, *, inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None, inInputQueueSize: int | None = None, inActivation: Z4SightEdgeType = Z4SightEdgeType.EdgeRising ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State | |||
![]() |
inDeviceID | Z4SightSystemAndDeviceIdentifier | None | None | Device identification number. | |
![]() |
inInputQueueSize | int | None | None | Capacity of output frames queue. | |
![]() |
inInput | int | 0 - 63 | Input to watch. | |
![]() |
inActivation | Z4SightEdgeType | Z4SightEdgeType.EdgeRising | Type of the edge to register. | |
![]() |
inHooks | list[Z4SightHook] | Hook to perform and latch to watch. |


