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

# inputStateQueueDepth

The maximum number of input values that the queue stores.

## Declaration

```swift
var inputStateQueueDepth: Int { get set }
```

## Discussion

Discussion When the queue reaches this limit, Game Controller starts removing the oldest input states from the queue. The default value for this property is 1 which indicates no buffering.

## See Also

### Handling device input

- [nextInputState()](gamecontroller/gcdevicephysicalinput/nextinputstate().md)
- [inputStateAvailableHandler](gamecontroller/gcdevicephysicalinput/inputstateavailablehandler.md)
- [capture()](gamecontroller/gcdevicephysicalinput/capture().md)
- [elementValueDidChangeHandler](gamecontroller/gcdevicephysicalinput/elementvaluedidchangehandler.md)
