<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/PointingDeviceType-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSPointingDeviceType"
  },
  "title" : "NSEvent.PointingDeviceType"
}
-->

# NSEvent.PointingDeviceType

The pointing-device types for tablet-proximity events or mouse events with a proximity event subtype.

```
enum PointingDeviceType
```

## Overview

The [`pointingDeviceType`](/documentation/AppKit/NSEvent/pointingDeviceType-swift.property) property returns one of these constants.

## Topics

### Enumeration Cases

[`NSPointingDeviceTypeCursor`](/documentation/AppKit/NSEvent/PointingDeviceType-swift.enum/cursor)

Represents a cursor pointing device.

[`NSPointingDeviceTypeEraser`](/documentation/AppKit/NSEvent/PointingDeviceType-swift.enum/eraser)

Represents the eraser end of a stylus-like pointing device.

[`NSPointingDeviceTypePen`](/documentation/AppKit/NSEvent/PointingDeviceType-swift.enum/pen)

Represents the tip end of a stylus-like pointing device.

[`NSPointingDeviceTypeUnknown`](/documentation/AppKit/NSEvent/PointingDeviceType-swift.enum/unknown)

Represents an unknown type of pointing device.

### Deprecated

[`NSCursorPointingDevice`](/documentation/AppKit/NSCursorPointingDevice)

Represents a cursor (or puck-like) pointing device.

[`NSEraserPointingDevice`](/documentation/AppKit/NSEraserPointingDevice)

Represents the eraser end of a stylus-like pointing device.

[`NSPenPointingDevice`](/documentation/AppKit/NSPenPointingDevice)

Represents the tip end of a stylus-like pointing device.

[`NSUnknownPointingDevice`](/documentation/AppKit/NSUnknownPointingDevice)

Represents an unknown type of pointing device.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

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)