Contents

localEventsSuppressionInterval

Returns the interval that local hardware events may be suppressed following the posting of a Quartz event.

Declaration

var localEventsSuppressionInterval: CFTimeInterval { get set }

Discussion

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 setLocalEventsFilterDuringSuppressionState(_:state:) to modify this behavior.

This function gets the period of time in seconds that local hardware events may be suppressed after posting a Quartz event created with the specified event source. You can use the function CGEventSourceSetLocalEventsSuppressionInterval to change this time interval.

See Also

Functions