C Specification

The possible location types are specified by the XrVirtualKeyboardLocationTypeMETA enumeration:

// Provided by XR_META_virtual_keyboard
typedef enum XrVirtualKeyboardLocationTypeMETA {
    XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_CUSTOM_META = 0,
    XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_FAR_META = 1,
    XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_DIRECT_META = 2,
    XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_MAX_ENUM_META = 0x7FFFFFFF
} XrVirtualKeyboardLocationTypeMETA;

Description

Enumerant Descriptions
  • XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_CUSTOM_META
    Indicates that the application will provide the position and scale of the keyboard.

  • XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_FAR_META
    Indicates that the runtime will set the position and scale for far field keyboard.

  • XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_DIRECT_META
    Indicates that the runtime will set the position and scale for direct interaction keyboard.

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-2024, The Khronos Group Inc.