Mobile 1.22 Reference Guide

ovrInputStateGamepad Struct Reference

ovrInputStateGamepad describes the input state gamepad input devices

Data Fields

ovrInputStateHeader
Header ( )
uint32_t
Buttons ( )
Values for buttons described by ovrButton.
float
float
ovrVector2f
X and Y coordinates of the Left Joystick, -1.0 - 1.0.
ovrVector2f
X and Y coordinates of the Right Joystick, -1.0 - 1.0.
uint64_t

Field Documentation

ovrInputStateHeader ovrInputStateGamepad::Header ( )
uint32_t ovrInputStateGamepad::Buttons ( )
Values for buttons described by ovrButton.
float ovrInputStateGamepad::LeftTrigger ( )
float ovrInputStateGamepad::RightTrigger ( )
ovrVector2f ovrInputStateGamepad::LeftJoystick ( )
X and Y coordinates of the Left Joystick, -1.0 - 1.0.
ovrVector2f ovrInputStateGamepad::RightJoystick ( )
X and Y coordinates of the Right Joystick, -1.0 - 1.0.
uint64_t ovrInputStateGamepad::Reserved[20] ( )
The documentation for this struct was generated from the following file: Include/VrApi_Input.h