Constants that specify the different types of input events.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
These constants are used:
To indicate the event type passed to your event tap callback function.
In the function
CGEventto specify the type of mouse event.
Create Mouse Event
Note that tablet devices may generate mouse events with embedded tablet data, or tablet pointer and proximity events. Tablet mouse events allow tablets to be used with applications that are not tablet-aware.