---
title: dpads
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinputstate/dpads-7b4o3
---

# dpads

The device’s directional pads as key-value pairs for lookup by name.

## Declaration

```swift
var dpads: GCPhysicalInputElementCollection<any GCDirectionPadElement> { get }
```

## See Also

### Accessing elements

- [elements](gamecontroller/gcdevicephysicalinputstate/elements-46hgy.md)
- [axes](gamecontroller/gcdevicephysicalinputstate/axes-5u1xr.md)
- [buttons](gamecontroller/gcdevicephysicalinputstate/buttons-2ovae.md)
- [switches](gamecontroller/gcdevicephysicalinputstate/switches-6dcny.md)
- [subscript(_:)](gamecontroller/gcdevicephysicalinputstate/subscript(_:).md)
