C Specification

The function xrSetInteractionProfileSuggestedBindings is defined as:

XrResult xrSetInteractionProfileSuggestedBindings(
    XrSession                                   session,
    const XrInteractionProfileSuggestedBinding* suggestedBindings);

Parameters

Parameter Descriptions

Description

xrSetInteractionProfileSuggestedBindings sets an interaction profile for which the application can provide default bindings. The application can call xrSetInteractionProfileSuggestedBindings once per interaction profile that it supports.

The application can provide any number of bindings for each action.

If the provided session is running, the runtime must return XR_ERROR_SESSION_RUNNING. If the application has already called xrSetInteractionProfileSuggestedBindings on this session for this interaction profile, the runtime must return XR_ERROR_BINDINGS_DUPLICATED. See suggested bindings for more details.

Valid Usage (Implicit)
Return Codes
On success, this command returns
  • XR_SUCCESS

On failure, this command returns
  • XR_ERROR_INSTANCE_LOST

  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_HANDLE_INVALID

  • XR_ERROR_VALIDATION_FAILURE

  • XR_ERROR_SESSION_RUNNING

  • XR_ERROR_BINDINGS_DUPLICATED

See Also

Document Notes

For more information, see the OpenXR Specification at URL

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.