fromByteArray

open fun fromByteArray(byteArray: Array<Byte>)

Parse gamepad info and assign it to the public fields. This method is the primary updater called periodically.

Parameters

byteArray

byte array containing valid gamepad data