PointerCallback typedef
Function signature for callbacks that report normalized pointer position.
The normalizedX
and normalizedY
parameters represent the pointer position
normalized to a range of -1.0 to 1.0, where (0,0) is the center of the tracking area.
Implementation
typedef PointerCallback = void Function(double normalizedX, double normalizedY);