---
title: acquireDevice()
framework: gamecontroller
role: symbol
role_heading: Instance Method
path: gamecontroller/gcracingwheel/acquiredevice()
---

# acquireDevice()

Starts receiving events from the racing wheel.

## Declaration

```swift
func acquireDevice() throws
```

## Discussion

Discussion Before invoking this method, the racing wheel doesn’t deliver events to your app. Since only one app may receive racing wheel events at a time, this method can fail to acquire the device.

## See Also

### Getting events

- [relinquishDevice()](gamecontroller/gcracingwheel/relinquishdevice().md)
- [isAcquired](gamecontroller/gcracingwheel/isacquired.md)
