---
title: Event Source Token
framework: coregraphics
role: collectionGroup
role_heading: API Collection
path: coregraphics/event-source-token
---

# Event Source Token

Specifies any input event type.

## Overview

Overview This constant is typically used with the function secondsSinceLastEventType(_:eventType:) to specify that you want the elapsed time since the last input event of any type.

## See Also

### Constants

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