---
title: CGEventMouseSubtype
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgeventmousesubtype
---

# CGEventMouseSubtype

Constants used with the CGEventField.mouseEventSubtype event field.

## Declaration

```swift
enum CGEventMouseSubtype
```

## Overview

Overview Tablets may generate specially annotated mouse events that contain values associated with the CGEventField.mouseEventSubtype event field. To learn how to set these values, see the function setIntegerValueField(_:value:).

## Topics

### Constants

- [CGEventMouseSubtype.defaultType](coregraphics/cgeventmousesubtype/defaulttype.md)
- [CGEventMouseSubtype.tabletPoint](coregraphics/cgeventmousesubtype/tabletpoint.md)
- [CGEventMouseSubtype.tabletProximity](coregraphics/cgeventmousesubtype/tabletproximity.md)

### Initializers

- [init(rawValue:)](coregraphics/cgeventmousesubtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [CGCaptureOptions](coregraphics/cgcaptureoptions.md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)
- [CGColorRenderingIntent](coregraphics/cgcolorrenderingintent.md)
- [CGConfigureOption](coregraphics/cgconfigureoption.md)
- [CGDisplayChangeSummaryFlags](coregraphics/cgdisplaychangesummaryflags.md)
- [CGDisplayStreamFrameStatus](coregraphics/cgdisplaystreamframestatus.md)
- [CGDisplayStreamUpdateRectType](coregraphics/cgdisplaystreamupdaterecttype.md)
- [CGError](coregraphics/cgerror.md)
- [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)
