C Specification
The XrHandGestureTypeQCOM enumeration identifies the different types of gestures.
// Provided by XR_QCOM_hand_tracking_gesture
typedef enum XrHandGestureTypeQCOM {
XR_HAND_GESTURE_TYPE_UNKNOWN_QCOM = -1,
XR_HAND_GESTURE_TYPE_OPEN_HAND_QCOM = 0,
XR_HAND_GESTURE_TYPE_GRAB_QCOM = 2,
XR_HAND_GESTURE_TYPE_PINCH_QCOM = 7,
XR_HAND_GESTURE_TYPE_MAX_ENUM_QCOM = 0x7FFFFFFF
} XrHandGestureTypeQCOM;
Description
| Enum | Description |
|---|---|
|
Indicates that no gesture can be detected. |
|
The open hand gesture is a neutral position. It is performed by extending the hand with the fingers opened and the palm away from the user. |
|
The grab gesture is performed by placing the hand in front of the user and closing the hand into a fist. |
|
The pinch gesture is performed by touching the tip of the thumb to the tip of the index finger while extending the remaining fingers. |
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.