---
title: device
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tctouchcontroller/device
---

# device

The Metal device the touch control uses for rendering the touch controls.

## Declaration

```swift
var device: any MTLDevice { get }
```

## See Also

### Inspecting the touch controller

- [buttons](touchcontroller/tctouchcontroller/buttons.md)
- [controls](touchcontroller/tctouchcontroller/controls.md)
- [directionPads](touchcontroller/tctouchcontroller/directionpads.md)
- [drawableSize](touchcontroller/tctouchcontroller/drawablesize.md)
- [size](touchcontroller/tctouchcontroller/size.md)
- [switches](touchcontroller/tctouchcontroller/switches.md)
- [isConnected](touchcontroller/tctouchcontroller/isconnected.md)
- [isSupported](touchcontroller/tctouchcontroller/issupported.md)
- [throttles](touchcontroller/tctouchcontroller/throttles.md)
- [thumbsticks](touchcontroller/tctouchcontroller/thumbsticks.md)
- [touchpads](touchcontroller/tctouchcontroller/touchpads.md)
