Monado OpenXR Runtime
oxr_haptic.h
Go to the documentation of this file.
1// Copyright 2019-2024, Collabora, Ltd.
2// Copyright 2025-2026, NVIDIA CORPORATION.
3// SPDX-License-Identifier: BSL-1.0
4/*!
5 * @file
6 * @brief Haptic related functions.
7 * @ingroup oxr_api
8 */
9
10#pragma once
11
12#include "oxr_objects.h"
13
14
15/*!
16 * Mostly used to implement the XR_FB_haptic_pcm extension.
17 */
18XrResult
20 const struct oxr_subaction_paths subaction_paths,
21 float *sample_rate);
XrResult oxr_haptic_get_attachment_pcm_sample_rate(struct oxr_action_attachment *act_attached, const struct oxr_subaction_paths subaction_paths, float *sample_rate)
Mostly used to implement the XR_FB_haptic_pcm extension.
Definition: oxr_haptic.c:37
The objects representing OpenXR handles, and prototypes for internal functions used in the state trac...
Data associated with an Action that has been attached to a Session.
Definition: oxr_objects.h:2263
A parsed equivalent of a list of sub-action paths.
Definition: oxr_objects.h:2097