The pointing-device types for tablet-proximity events or mouse events with a proximity event subtype.
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
enum PointingDeviceType : UInt
Overview
The pointing
property returns one of these constants.
The pointing-device types for tablet-proximity events or mouse events with a proximity event subtype.
SDK
Framework
enum PointingDeviceType : UInt
The pointing
property returns one of these constants.
case cursor
Represents a cursor pointing device.
case eraser
Represents the eraser end of a stylus-like pointing device.
case pen
Represents the tip end of a stylus-like pointing device.
case unknown
Represents an unknown type of pointing device.
var capability Mask: Int
A mask whose set bits indicate the capabilities of the tablet device that generated this event.
var device ID: Int
A special identifier that is used to match tablet-pointer and tablet-proximity events.
var is Entering Proximity: Bool
A Boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet.
var pointing Device ID: Int
The index of the pointing device currently in proximity with the tablet.
var pointing Device Serial Number: Int
The vendor-assigned serial number of a pointing device.
var pointing Device Type: NSEvent .Pointing Device Type
The kind of pointing device associated with this event.
var system Tablet ID: Int
The index of the tablet device connected to the system.
var tablet ID: Int
The USB model identifier of the tablet device associated with this event.
var unique ID: UInt64
The unique identifier of the pointing device that generated this event.
var vendor ID: Int
The vendor identifier of the tablet associated with the event.
var vendor Pointing Device Type: Int
A coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event.