Variables
Methods
getCachedSamples (data:ByteArray, ?append:Bool):Int
Writes cached sample values to the ByteArray. @return
Parameters:
data | |
---|---|
append |
getControlAt (i:Int):GameInputControl
Retrieves a specific control from a device. @return
Parameters:
i |
---|
startCachingSamples (numSamples:Int, controls:Vector<String>):Void
Requests this device to start keeping a cache of sampled values.
Parameters:
numSamples | |
---|---|
null | controls |
Static variables
staticinlineread onlyMAX_BUFFER_SIZE:Int
Specifies the maximum size for the buffer used to cache sampled control values.
If startCachingSamples
returns samples that require more memory than you specify,
it throws a memory error.