DEVICE-CENTRIC DOCUMENTATION

The site has a new content architecture. We've added the ability to select your development device to show device-specific content. Please read our blog post Oculus Developer Center Update: Device-centric Documentation Architecture for more information.

Oculus Quest Development

All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible. For additional information and context, please see Submitting Your App to the Oculus Quest Store.

Button Touch State

In addition to buttons, Touch controllers can detect whether user fingers are touching some buttons or are in certain positions.

These states are reported as bits in the Touches field, and can be checked through one of the following constants:

StateDescription
ovrTouch_AUser in touching A button on the right controller.
ovrTouch_BUser in touching B button on the right controller.
ovrTouch_RThumbUser has a finger on the thumb stick of the right controller.
ovrTouch_RThumbRestUser has a finger on the textured thumb rest of the right controller.
ovrTouch_RIndexTriggerUser in touching the index finger trigger on the right controller.
ovrTouch_XUser in touching X button on the left controller.
ovrTouch_YUser in touching Y button on the left controller.
ovrTouch_LThumbUser has a finger on the thumb stick of the left controller.
ovrTouch_LThumbRestUser has a finger on the textured thumb rest of the left controller.
ovrTouch_LIndexTriggerUser in touching the index finger trigger on the left controller.
ovrTouch_RIndexPointingUsers right index finger is pointing forward past the trigger.
ovrTouch_RThumbUpUsers right thumb is up and away from buttons on the controller, a gesture that can be interpreted as right thumbs up.
ovrTouch_LIndexPointingUsers left index finger is pointing forward past the trigger.
ovrTouch_LThumbUpUsers left thumb is up and away from buttons on the controller, a gesture that can be interpreted as left thumbs up.