Monado OpenXR Runtime
Loading...
Searching...
No Matches
oxr_set_haptic.h
Go to the documentation of this file.
1// Copyright 2018-2024, Collabora, Ltd.
2// Copyright 2023-2026, NVIDIA CORPORATION.
3// SPDX-License-Identifier: BSL-1.0
4/*!
5 * @file
6 * @brief Holds action state get related functions.
7 * @ingroup oxr_main
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 * @public @memberof oxr_session
23 */
24XrResult
25oxr_action_apply_haptic_feedback(struct oxr_logger *log,
26 struct oxr_session *sess,
27 uint32_t act_key,
28 struct oxr_subaction_paths subaction_paths,
29 const XrHapticBaseHeader *hapticEvent);
30/*!
31 * @public @memberof oxr_session
32 */
33XrResult
34oxr_action_stop_haptic_feedback(struct oxr_logger *log,
35 struct oxr_session *sess,
36 uint32_t act_key,
37 struct oxr_subaction_paths subaction_paths);
38
39
40#ifdef __cplusplus
41}
42#endif
Forward declarations for OpenXR state tracker structs.
Logger struct that lives on the stack, one for each call client call.
Definition oxr_logger.h:44
Object that client program interact with.
Definition oxr_objects.h:1354
A parsed equivalent of a list of sub-action paths.
Definition oxr_objects.h:1630