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