<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCDevicePhysicalInput/queue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(pl)GCDevicePhysicalInput(py)queue"
  },
  "title" : "queue"
}
-->

# queue

The dispatch queue that the system uses for callbacks.

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

## Discussion

Objects that conform to the [`GCDevicePhysicalInput`](/documentation/GameController/GCDevicePhysicalInput) protocol dispatch callbacks on the device’s [`handlerQueue`](/documentation/GameController/GCDevice/handlerQueue) property by default. If you want to use a different dispatch queue, set this property to the preferred queue before you set callbacks.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)