Enables or disables an event tap.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
The event tap to enable or disable.
trueto enable the event tap. To disable it, pass
Event taps are normally enabled when created. If an event tap becomes unresponsive, or if a user requests that event taps be disabled, then a
k event is passed to the event tap callback function. Event taps may be re-enabled by calling this function.