Monado OpenXR Runtime
Loading...
Searching...
No Matches
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
13#include "oxr_extension_support.h"
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20
21/*!
22 * Mostly used to implement the XR_FB_haptic_pcm extension.
23 */
24XrResult
26 const struct oxr_subaction_paths subaction_paths,
27 float *sample_rate);
28
29
30#ifdef __cplusplus
31}
32#endif
Forward declarations for OpenXR state tracker structs.
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:45
Data associated with an Action that has been attached to a Session.
Definition oxr_objects.h:1707
A parsed equivalent of a list of sub-action paths.
Definition oxr_subaction.h:98