Contents

pointingDeviceType

The kind of pointing device associated with this event.

Declaration

var pointingDeviceType: NSEvent.PointingDeviceType { get }

Discussion

For example, the device could be a pen, eraser, or cursor pointing device. This property is valid for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events. See Getting Unicode Values for descriptions of valid NSPointingDeviceType constants.

See Also

Getting tablet proximity information