This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Mobile 1.17 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