Field Documentation
double ovrInputState::TimeInSeconds ( )
System type when the controller state was last updated.
unsigned int ovrInputState::Buttons ( )
Values for buttons described by ovrButton.
unsigned int ovrInputState::Touches ( )
Touch values for buttons and sensors as described by ovrTouch.
float ovrInputState::IndexTrigger[ovrHand_Count] ( )
Left and right finger trigger values (ovrHand_Left and ovrHand_Right), in range 0.0 to 1.0f.
Returns 0 if the value would otherwise be less than 0.1176, for ovrControllerType_XBox. This has been formally named simply "Trigger". We retain the name IndexTrigger for backwards code compatibility. User-facing documentation should refer to it as the Trigger.
float ovrInputState::HandTrigger[ovrHand_Count] ( )
Left and right hand trigger values (ovrHand_Left and ovrHand_Right), in the range 0.0 to 1.0f.
This has been formally named "Grip Button". We retain the name HandTrigger for backwards code compatibility. User-facing documentation should refer to it as the Grip Button or simply Grip.
ovrVector2f ovrInputState::Thumbstick[ovrHand_Count] ( )
Horizontal and vertical thumbstick axis values (ovrHand_Left and ovrHand_Right), in the range of -1.0f to 1.0f.
Returns a deadzone (value 0) per each axis if the value on that axis would otherwise have been between -.2746 to +.2746, for ovrControllerType_XBox
ovrControllerType ovrInputState::ControllerType ( )
The type of the controller this state is for.
float ovrInputState::IndexTriggerNoDeadzone[ovrHand_Count] ( )
Left and right finger trigger values (ovrHand_Left and ovrHand_Right), in range 0.0 to 1.0f.
Does not apply a deadzone. Only touch applies a filter. This has been formally named simply "Trigger". We retain the name IndexTrigger for backwards code compatibility. User-facing documentation should refer to it as the Trigger.
float ovrInputState::HandTriggerNoDeadzone[ovrHand_Count] ( )
Left and right hand trigger values (ovrHand_Left and ovrHand_Right), in the range 0.0 to 1.0f.
Does not apply a deadzone. Only touch applies a filter. This has been formally named "Grip Button". We retain the name HandTrigger for backwards code compatibility. User-facing documentation should refer to it as the Grip Button or simply Grip.
ovrVector2f ovrInputState::ThumbstickNoDeadzone[ovrHand_Count] ( )
Horizontal and vertical thumbstick axis values (ovrHand_Left and ovrHand_Right), in the range -1.0f to 1.0f Does not apply a deadzone or filter.
float ovrInputState::IndexTriggerRaw[ovrHand_Count] ( )
Left and right finger trigger values (ovrHand_Left and ovrHand_Right), in range 0.0 to 1.0f.
No deadzone or filter This has been formally named "Grip Button". We retain the name HandTrigger for backwards code compatibility. User-facing documentation should refer to it as the Grip Button or simply Grip.
float ovrInputState::HandTriggerRaw[ovrHand_Count] ( )
Left and right hand trigger values (ovrHand_Left and ovrHand_Right), in the range 0.0 to 1.0f.
No deadzone or filter This has been formally named "Grip Button". We retain the name HandTrigger for backwards code compatibility. User-facing documentation should refer to it as the Grip Button or simply Grip.
ovrVector2f ovrInputState::ThumbstickRaw[ovrHand_Count] ( )
Horizontal and vertical thumbstick axis values (ovrHand_Left and ovrHand_Right), in the range -1.0f to 1.0f No deadzone or filter.