---
title: dpads
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinputstate/dpads-5yr9x
---

# dpads

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

## Declaration

```occ
@property (readonly) GCPhysicalInputElementCollection<NSString<GCDirectionPadElementName> *,id<GCDirectionPadElement>> * dpads;
```

## Mentioned in

Letting players use their second-generation Siri Remote as a game controller

## See Also

### Accessing elements

- [elements](gamecontroller/gcdevicephysicalinputstate/elements-1shp2.md)
- [axes](gamecontroller/gcdevicephysicalinputstate/axes-80rx.md)
- [buttons](gamecontroller/gcdevicephysicalinputstate/buttons-3257g.md)
- [switches](gamecontroller/gcdevicephysicalinputstate/switches-6bws2.md)
- [subscript(_:)](gamecontroller/gcdevicephysicalinputstate/subscript(_:).md)
