Instance Property

buttonMask

A bit mask identifying the buttons pressed for a tablet event.

Declaration

@property(readonly) NSEventButtonMask buttonMask;

Discussion

Use one or more of the button-mask constants described in Getting Unicode Values to determine which of the pointing device’s buttons are pressed. This property is valid only for mouse events with a subtype of NSTabletPointEventSubtype and for events of type NSTabletPoint; otherwise, the property is set to 0.

See Also

Getting Tablet Pointing Information

absoluteX

The absolute x coordinate of a pointing device on its tablet at full tablet resolution.

absoluteY

The absolute y coordinate of a pointing device on its tablet at full tablet resolution.

absoluteZ

The absolute z coordinate of pointing device on its tablet at full tablet resolution.

rotation

The rotation in degrees of the tablet pointing device associated with this event.

tangentialPressure

The tangential pressure on the device that generated this event.

tilt

The scaled tilt values of the pointing device that generated this event.

vendorDefined

An array of three vendor-defined NSNumber objects associated with a pointing-type event.