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
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | None None Device identification number.
Input value inInputQueueSize int | None None Capacity of output frames queue.
Input value inInput int 0 - 63 Input to watch.
Input value inActivation Z4SightEdgeType Z4SightEdgeType.EdgeRising Type of the edge to register.
Input value inHooks list[Z4SightHook] Hook to perform and latch to watch.