Click or drag to resize
SoControllerReaderButtonChange Method

Returns information about changes of the state of the button identified by id.

Namespace: OIV.ScaleViz.Interaction
Assembly: OIV.ScaleViz (in OIV.ScaleViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public int ButtonChange(
	int id
)

Parameters

id
Type: SystemInt32

Return Value

Type: Int32
Remarks

The function returns 0 if the state of the button hasn't changed, returns -1, if the button was released, returns 1, if the button was pressed.

See Also