Method GetControllerBatteryPercentRemaining
GetControllerBatteryPercentRemaining(ControllerType)
Get the remaining battery of the controller in percent
Declaration
public static int GetControllerBatteryPercentRemaining(ControllerType controllerMask)
Parameters
Type | Name | Description |
---|---|---|
ControllerType | controllerMask | Target controller |
Returns
Type | Description |
---|---|
int | Remaining battery in percent |