Skip to main content
New Participant
June 16, 2018

Reading buttons state of Oculus Touch

Hi,
I am unsuccessfully trying to use ovr_GetInputState to get the buttons state of the Oculus Touch.
I follow the information from here https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-input-touch-buttons/
But all I get is the indications of touching the buttons in inputState.Touches and the time in inputState.TimeInSeconds.
inputState.Buttons is always zero when pressing the buttons.
Can anyone help?

Thanks,
Doron







    2 replies

    mousebear
    Honored Contributor
    June 20, 2018
    @doroni

    Welcome to the Oculus Developer Forum!

    I'll reach out to our internal engineering team for a solution. Once they respond, I'll update you here.
    If you need immediate help or want additional support/context on an issue you are having with our platform or integrations: 1. Gather any and all logs , screenshots, and version numbers of relevant software (Oculus SDK, engine, etc.) 2. Please submit a ticket here through the "Contact Us" link (include what you've gathered in step 1). 3. Tag me @mouse_bear once you have done so!
    mousebear
    Honored Contributor
    June 21, 2018
    @doroni

    Our engineers are aware of the problem and are currently looking into a solution.

    In the meantime, a workround is to press the Oculus button to enter the Universal Menu, then press it again to return to the game. The buttons should work then.
    If you need immediate help or want additional support/context on an issue you are having with our platform or integrations: 1. Gather any and all logs , screenshots, and version numbers of relevant software (Oculus SDK, engine, etc.) 2. Please submit a ticket here through the "Contact Us" link (include what you've gathered in step 1). 3. Tag me @mouse_bear once you have done so!