<!--
{
  "documentType" : "article",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/event-source-token",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Event Source Token"
}
-->

# Event Source Token

Specifies any input event type.

## Discussion

This constant is typically used with the function [`secondsSinceLastEventType(_:eventType:)`](/documentation/CoreGraphics/CGEventSource/secondsSinceLastEventType(_:eventType:)) to specify that you want the elapsed time since the last input event of any type.

## Topics

### Constants

[`kCGAnyInputEventType`](/documentation/CoreGraphics/kCGAnyInputEventType)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)