Constants that specify the different types of input events.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
These constants are used:
In the functions
Create(tap: place: options: events Of Interest: callback: user Info:)
tapto specify the events of interest for the new event tap.
Create For PSN(process Serial Number: place: options: events Of Interest: callback: user Info:)
To indicate the event type passed to your event tap callback function.
In the function
init(mouseto specify the type of mouse event.
Event Source: mouse Type: mouse Cursor Position: mouse Button:)
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.