Enumeration

CGEventMouseSubtype

Constants used with the CGEventField.mouseEventSubtype event field.

Declaration

enum CGEventMouseSubtype : UInt32

Overview

Tablets may generate specially annotated mouse events that contain values associated with the CGEventField.mouseEventSubtype event field. To learn how to set these values, see the function setIntegerValueField(_:value:).

Topics

Constants

case defaultType

Specifies that the event is an ordinary mouse event, and does not contain additional tablet device information.

case tabletPoint

Specifies that the mouse event originated from a tablet device, and that the various kCGTabletEvent field selectors may be used to obtain tablet-specific data from the mouse event.