Sets the interval that local hardware events may be suppressed following the posting of a Quartz event.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
The event source to access.
The period of time in seconds that local hardware events (keyboard or mouse) are suppressed after posting a Quartz event created with the specified event source. The value should be a number in the range [0.0, 10.0].
By default, the system does not suppress local hardware events from the keyboard or mouse during a short interval after a Quartz event is posted. You can use the function
CGEvent to modify this behavior.
This function sets the period of time in seconds that local hardware events may be suppressed after posting a Quartz event created with the specified event source. The default suppression interval is 0.25 seconds.