ovr_GetInputState does not return data
Hello,
I am working with Oculus SDK C++ and have specific requirement to read only oculus sensor data.
i have separate thread initialize oculus in the beginning with:
ovrInitParams initParams = { ovrInit_RequestVersion, OVR_MINOR_VERSION, NULL, 0, 0 };
ovrResult result = ovr_Initialize(&initParams);
if (OVR_FAILURE(result))
return false;
result = ovr_Create(&session, &luid);
if (OVR_FAILURE(result))
{
ovr_Shutdown();
return false;
}
and then in regular intervals I call
trackState = ovr_GetTrackingState(session, 0, ovrTrue);
bool success = OVR_SUCCESS(ovr_GetInputState(session, ovrControllerType_Touch, &inputState));
I get tracking state properly but inputState is always empty.
I am not getting any info from Buttons or joystick.
It is really minimum I need.
Please help.
