|
Monado OpenXR Runtime
|
A single interaction profile. More...
#include <oxr/oxr_objects.h>

Public Member Functions | |
| void | oxr_interaction_profile_destroy (struct oxr_interaction_profile *profile) |
| Destroy an interaction profile. | |
| struct oxr_interaction_profile * | oxr_interaction_profile_clone (const struct oxr_interaction_profile *src_profile) |
| Clone an interaction profile. | |
| void | oxr_binding_find_bindings_from_act_key (struct oxr_logger *log, struct oxr_interaction_profile *profile, uint32_t key, size_t max_binding_count, struct oxr_binding **out_bindings, size_t *out_binding_count) |
| Find bindings from action key in a profile. | |
Data Fields | |
| XrPath | path |
| enum xrt_device_name | xname |
| Used to lookup xrt_binding_profile for fallback. | |
| const char * | localized_name |
| Name presented to the user. | |
| struct oxr_binding * | bindings |
| size_t | binding_count |
| struct oxr_dpad_emulation * | dpads |
| size_t | dpad_count |
| struct oxr_dpad_state | dpad_state |
A single interaction profile.
| void oxr_binding_find_bindings_from_act_key | ( | struct oxr_logger * | log, |
| struct oxr_interaction_profile * | profile, | ||
| uint32_t | key, | ||
| size_t | max_binding_count, | ||
| struct oxr_binding ** | out_bindings, | ||
| size_t * | out_binding_count | ||
| ) |
Find bindings from action key in a profile.
| log | Logger |
| profile | Interaction profile |
| key | Action key |
| max_binding_count | Maximum number of bindings to return |
| out_bindings | Output bindings array |
| out_binding_count | Output binding count |
| struct oxr_interaction_profile * oxr_interaction_profile_clone | ( | const struct oxr_interaction_profile * | src_profile | ) |
Clone an interaction profile.
| src_profile | Source interaction profile to clone |
References oxr_dpad_state::oxr_dpad_state_clone(), oxr_binding::preferred_binding_path_index, U_TYPED_ARRAY_CALLOC, and U_TYPED_CALLOC.
Referenced by oxr_interaction_profile_array::oxr_interaction_profile_array_clone().
| void oxr_interaction_profile_destroy | ( | struct oxr_interaction_profile * | profile | ) |
Destroy an interaction profile.
| profile | Interaction profile to destroy |
Referenced by oxr_interaction_profile_array::oxr_interaction_profile_array_clear().
| const char* oxr_interaction_profile::localized_name |
Name presented to the user.
Referenced by bindings.Profile::__init__(), and oxr_action_get_input_source_localized_name().
| enum xrt_device_name oxr_interaction_profile::xname |
Used to lookup xrt_binding_profile for fallback.
Referenced by get_binding().