MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovrInputState2_

Class ovrInputState2_

ReviveXR/REV_CAPI.cpp:502–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500
501// Pre-1.11 input state
502typedef struct ovrInputState2_
503{
504 double TimeInSeconds;
505 unsigned int Buttons;
506 unsigned int Touches;
507 float IndexTrigger[ovrHand_Count];
508 float HandTrigger[ovrHand_Count];
509 ovrVector2f Thumbstick[ovrHand_Count];
510 ovrControllerType ControllerType;
511 float IndexTriggerNoDeadzone[ovrHand_Count];
512 float HandTriggerNoDeadzone[ovrHand_Count];
513 ovrVector2f ThumbstickNoDeadzone[ovrHand_Count];
514} ovrInputState2;
515
516OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetInputState(ovrSession session, ovrControllerType controllerType, ovrInputState* inputState)
517{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected