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

ovrInputHeadsetCapabilities Struct Reference

Capabilities for the Head Mounted Tracking device.

Data Fields

ovrInputCapabilityHeader
Header ( )
uint32_t
Mask of controller capabilities described by ovrControllerCapabilities.
uint32_t
Mask of button capabilities described by ovrButton.
uint16_t
Maximum coordinates of the Trackpad, bottom right exclusive For a 300x200 Trackpad, return 299x199.
uint16_t
float
Size of the Trackpad in mm (millimeters)
float

Detailed Description

Note that the GearVR headset firmware always sends relative coordinates with the initial touch position offset by (1280,720). There is no way to get purely raw coordinates from the headset. In addition, these coordinates get adjusted for acceleration resulting in a slow movement from one edge to the other the having a coordinate range of about 300 units, while a fast movement from edge to edge may result in a range close to 900 units. This means the headset touchpad needs to be handled differently than the GearVR Controller touchpad.

Field Documentation

ovrInputCapabilityHeader ovrInputHeadsetCapabilities::Header ( )
uint32_t ovrInputHeadsetCapabilities::ControllerCapabilities ( )
Mask of controller capabilities described by ovrControllerCapabilities.
uint32_t ovrInputHeadsetCapabilities::ButtonCapabilities ( )
Mask of button capabilities described by ovrButton.
uint16_t ovrInputHeadsetCapabilities::TrackpadMaxX ( )
Maximum coordinates of the Trackpad, bottom right exclusive For a 300x200 Trackpad, return 299x199.
uint16_t ovrInputHeadsetCapabilities::TrackpadMaxY ( )
float ovrInputHeadsetCapabilities::TrackpadSizeX ( )
Size of the Trackpad in mm (millimeters)
float ovrInputHeadsetCapabilities::TrackpadSizeY ( )
The documentation for this struct was generated from the following file: Include/VrApi_Input.h