---
title: Event Type Mask
framework: coregraphics
role: collectionGroup
role_heading: API Collection
path: coregraphics/event-type-mask
---

# Event Type Mask

Specifies an event mask that represents all event types.

## Overview

Overview This constant is typically used with the functions tapCreate(tap:place:options:eventsOfInterest:callback:userInfo:) and tapCreateForPSN(processSerialNumber:place:options:eventsOfInterest:callback:userInfo:) to register an event tap that observes all input events.

## See Also

### Constants

- [CGEventField](coregraphics/cgeventfield.md)
- [CGEventFilterMask](coregraphics/cgeventfiltermask.md)
- [CGEventFlags](coregraphics/cgeventflags.md)
- [CGEventSourceStateID](coregraphics/cgeventsourcestateid.md)
- [Event Source Token](coregraphics/event-source-token.md)
- [CGEventSuppressionState](coregraphics/cgeventsuppressionstate.md)
- [CGEventTapLocation](coregraphics/cgeventtaplocation.md)
- [CGEventTapOptions](coregraphics/cgeventtapoptions.md)
- [CGEventTapPlacement](coregraphics/cgeventtapplacement.md)
- [CGEventType](coregraphics/cgeventtype.md)
- [CGMouseButton](coregraphics/cgmousebutton.md)
- [CGEventMouseSubtype](coregraphics/cgeventmousesubtype.md)
- [CGScrollEventUnit](coregraphics/cgscrolleventunit.md)
