nextInputState()
Returns the next device input state from the queue.
Declaration
func nextInputState() -> (any GCControllerInputState & GCDevicePhysicalInputStateDiff)?Return Value
The next input state in the queue or nil if the queue is empty.
Returns the next device input state from the queue.
func nextInputState() -> (any GCControllerInputState & GCDevicePhysicalInputStateDiff)?The next input state in the queue or nil if the queue is empty.