Sets the time interval in seconds that local hardware events are suppressed after posting a synthetic event.
- macOS 10.0–10.6Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- Core Graphics
The desired time interval in seconds. The value should be a number in the range [0.0, 10.0].
A result code. If the
seconds parameter is outside the allowed range, returns
This function determines how long local events matching an event filter are to be suppressed following the posting of a synthetic event. The default time interval for event suppression is 0.25 seconds.
This function is not recommended for general use because of undocumented special cases and undesirable side effects. The recommended replacement for this function is
CGEvent, which allows the suppression interval to be adjusted for a specific event source, affecting only events posted using that event source.