GamepadInfo
class GamepadInfo(var index: Int = 0, var connected: Boolean = false, var name: String? = null, var rawButtons: FloatArray = FloatArray(GameButton.MAX), var batteryLevel: Float = 1.0f, var name2: String = DEFAULT_NAME2, var batteryStatus: GamepadInfo.BatteryStatus = BatteryStatus.UNKNOWN)
Constructors
Link copied to clipboard
constructor(index: Int = 0, connected: Boolean = false, name: String? = null, rawButtons: FloatArray = FloatArray(GameButton.MAX), batteryLevel: Float = 1.0f, name2: String = DEFAULT_NAME2, batteryStatus: GamepadInfo.BatteryStatus = BatteryStatus.UNKNOWN)