GetGamepadState does not work for me
Hi,
I'm integrating OculusSDK.
I'm now integrating only the "gamepad" (input) and not the rendering.
Initialization is:
That works fine and I get a seems-legal descriptor.
Later I call:
But I always get l_rc==1167 and constant looks-like-garbage state.
Could you help?
I'm integrating OculusSDK.
I'm now integrating only the "gamepad" (input) and not the rendering.
Initialization is:
ovr_Initialize();
ovrHmd l_Hmd = ovrHmd_Create(0);
ovrHmdDesc l_HmdDesc ;
ovrHmd_GetDesc(l_Hmd, &l_HmdDesc);
That works fine and I get a seems-legal descriptor.
Later I call:
XINPUT_STATE xis;
int l_rc = XInputGetState(0, &xis);
if (l_rc == ERROR_SUCCESS )
Log("Controller connrected");
But I always get l_rc==1167 and constant looks-like-garbage state.
Could you help?
