Enumeration

CGEventTapPlacement

Constants that specify where a new event tap is inserted into the list of active event taps.

Declaration

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

Overview

Event taps may be inserted at a specified location at the head of pre-existing filters, or appended after any pre-existing filters.

Topics

Constants

kCGHeadInsertEventTap

Specifies that a new event tap should be inserted before any pre-existing event taps at the same location.

kCGTailAppendEventTap

Specifies that a new event tap should be inserted after any pre-existing event taps at the same location.