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

# queue

The dispatch queue that the system uses for callbacks.

## Declaration

```swift
var queue: dispatch_queue_t? { get set }
```

## Mentioned in

Handling input events

## Discussion

Discussion Objects that conform to the GCDevicePhysicalInput protocol dispatch callbacks on the device’s handlerQueue property by default. If you want to use a different dispatch queue, set this property to the preferred queue before you set callbacks.
