---
title: device
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinput/device
---

# device

The device that the physical input represents.

## Declaration

```swift
weak var device: (any GCDevice)? { get }
```
