Contents

deviceID

A special identifier the system matches against tablet-pointer and tablet-proximity events.

Declaration

var deviceID: Int { get }

Discussion

All tablet-pointer events generated in the period between the device entering and leaving tablet proximity have the same device ID. This property is valid only for mouse events with subtype NSTabletPointEventSubtype or NSTabletProximityEventSubtype, and for NSTabletPoint and NSTabletProximity events.

See Also

Getting tablet proximity information