Generates an event mask for a single type of event.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
An event type constant. Pass one of the constants listed in
An event mask that represents the specified event.
This macro converts an event type constant into a mask. You can use this mask to specify that an event tap should observe the event. For more information, see