valueDidChangeHandler
The block that the profile calls when an element’s value changes.
Declaration
var valueDidChangeHandler: ((GCPhysicalInputProfile, GCControllerElement) -> Void)? { get set }Discussion
The block’s parameters are:
profileThe controller profile that contains the element.
elementThe element with the value that changes.
If multiple elements change values at the same time, the profile calls this block once for each element that changes. If the value of a subelement changes, the profile only calls the block for the containing element.