Enumeration

CGEventTapLocation

Constants that specify possible tapping points for events.

Declaration

typedef enum CGEventTapLocation : uint32_t {
    ...
} CGEventTapLocation;

Overview

In addition to the three tapping points described above, an event tap may also be placed where annotated events are delivered to a specific application. For more information, see the function CGEventTapCreateForPSN.

Topics

Constants

kCGHIDEventTap

Specifies that an event tap is placed at the point where HID system events enter the window server.

kCGSessionEventTap

Specifies that an event tap is placed at the point where HID system and remote control events enter a login session.

kCGAnnotatedSessionEventTap

Specifies that an event tap is placed at the point where session events have been annotated to flow to an application.