headsetBatteryInfo property

GamepadBatteryInfo headsetBatteryInfo

Get the battery type for a headset attached to the gamepad, if there is one.

Implementation

GamepadBatteryInfo get headsetBatteryInfo =>
    GamepadBatteryInfo(controller, GamepadDeviceType.headset);