---
title: GCDeviceCursor
framework: gamecontroller
role: symbol
role_heading: Class
path: gamecontroller/gcdevicecursor
---

# GCDeviceCursor

A control element for the cursor used as a directional pad.

## Declaration

```swift
class GCDeviceCursor
```

## Overview

Overview This controller element allows you to use the cursor as a directional pad with the values of the xAxis and yAxis elements scaled to the width and height of the screen, not ranging from -1 to 1.

## Relationships

### Inherits From

- [GCControllerDirectionPad](gamecontroller/gccontrollerdirectionpad.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Accessing controller elements

- [GCControllerElement](gamecontroller/gccontrollerelement.md)
- [GCControllerAxisInput](gamecontroller/gccontrolleraxisinput.md)
- [GCControllerButtonInput](gamecontroller/gccontrollerbuttoninput.md)
- [GCControllerTouchpad](gamecontroller/gccontrollertouchpad.md)
- [GCControllerDirectionPad](gamecontroller/gccontrollerdirectionpad.md)
- [GCDualSenseAdaptiveTrigger](gamecontroller/gcdualsenseadaptivetrigger.md)
