Skip to main content
New Participant
August 18, 2023
Solved

GetControllerBatteryPercentRemaining() does not work

  • August 18, 2023
  • 1 reply
  • 1809 views

When I call the function OvrInput.GetControllerBatteryPercentRemaining(), it always returns a value of 0.

Does the GetControllerBatteryPercentRemaining() function work after OvrPlugin 1.78?

We have not been able to import the controller battery since we recently upgraded to oculus integration v50.

Also, The Test Project that integration v50 was installed also did not work.

public static extern Result ovrp_GetControllerState5(uint controllerMask, ref ControllerState5 controllerState);

function appeared to have a problem, but the OvrPlugin.DLL was encrypted and could not be verified.

Thanks for your Help!

    Best answer by JawonChoidev

    OvrInput.GetControllerBatteryPercentRemaining() does not work after version 1.78.
    It's related with ControllerState5

    1 reply

    JawonChoidevAuthorAnswer
    New Participant
    March 4, 2024

    OvrInput.GetControllerBatteryPercentRemaining() does not work after version 1.78.
    It's related with ControllerState5