Structure

CGEventTapInformation

Defines the structure used to report information about event taps.

Declaration

typedef struct __CGEventTapInformation {
    ...
} CGEventTapInformation;

Overview

To learn how to obtain information about event taps, see the function CGGetEventTapList.

Topics

Instance Properties

avgUsecLatency

Average latency in microseconds. This is a weighted average that gives greater weight to more recent events.

enabled

TRUE if the event tap is currently enabled; otherwise FALSE.

eventTapID

The unique identifier for the event tap.

eventsOfInterest

The mask that identifies the set of events to be observed.

maxUsecLatency

Maximum latency in microseconds.

minUsecLatency

Minimum latency in microseconds. In this data structure, latency is defined as the time in microseconds it takes for an event tap to process and respond to an event passed to it.

options

The type of event tap (passive listener or active filter).

processBeingTapped

The process ID of the target application (non-zero only if the event tap was created using the function CGEventTapCreateForPSN.

tapPoint

The location of the event tap. See CGEventTapLocation.

tappingProcess

The process ID of the application that created the event tap.