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

XR_HAND_GESTURE_TYPE_UNKNOWN_QCOM

Indicates that no gesture can be detected.

XR_HAND_GESTURE_TYPE_OPEN_HAND_QCOM

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.

XR_HAND_GESTURE_TYPE_GRAB_QCOM

The grab gesture is performed by placing the hand in front of the user and closing the hand into a fist.

XR_HAND_GESTURE_TYPE_PINCH_QCOM

The pinch gesture is performed by touching the tip of the thumb to the tip of the index finger while extending the remaining fingers.

See Also

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 2014-2026 The Khronos Group Inc.