nextInputState()
Returns the next input state from the queue.
Declaration
func nextInputState() -> (any GCDevicePhysicalInputState & GCDevicePhysicalInputStateDiff)?Mentioned in
Return Value
The next input state in the queue or nil if the queue is empty.
Discussion
This method removes the next input state from the queue.