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

Class ovrInputState2_

Revive/REV_CAPI.cpp:510–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508
509// Pre-1.11 input state
510typedef struct ovrInputState2_
511{
512 double TimeInSeconds;
513 unsigned int Buttons;
514 unsigned int Touches;
515 float IndexTrigger[ovrHand_Count];
516 float HandTrigger[ovrHand_Count];
517 ovrVector2f Thumbstick[ovrHand_Count];
518 ovrControllerType ControllerType;
519 float IndexTriggerNoDeadzone[ovrHand_Count];
520 float HandTriggerNoDeadzone[ovrHand_Count];
521 ovrVector2f ThumbstickNoDeadzone[ovrHand_Count];
522} ovrInputState2;
523
524OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetInputState(ovrSession session, ovrControllerType controllerType, ovrInputState* inputState)
525{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected