Enumeration

CGEventTapOptions

Constants that specify whether a new event tap is an active filter or a passive listener.

Declaration

enum CGEventTapOptions : UInt32

Overview

When you create an event tap, you indicate whether it is a passive listener or active event filter. A passive listener receives events but cannot modify or divert them. An active filter may pass an event through unmodified, modify an event, or discard an event.