diff --git a/src/xrt/state_trackers/oxr/oxr_input.c b/src/xrt/state_trackers/oxr/oxr_input.c index 725c439a0..e4536f243 100644 --- a/src/xrt/state_trackers/oxr/oxr_input.c +++ b/src/xrt/state_trackers/oxr/oxr_input.c @@ -229,7 +229,7 @@ oxr_action_create(struct oxr_logger *log, /* * - * "Exproted" helper functions. + * "Exported" helper functions. * */ @@ -365,6 +365,10 @@ do_outputs(struct oxr_binding *bind, return found; } +/*! + * Delegate to @ref do_outputs or @ref do_inputs depending on whether the action + * is output or input. + */ static bool do_io_bindings(struct oxr_binding *b, struct oxr_action *act, diff --git a/src/xrt/state_trackers/oxr/oxr_objects.h b/src/xrt/state_trackers/oxr/oxr_objects.h index aa6dc3e43..afe14a302 100644 --- a/src/xrt/state_trackers/oxr/oxr_objects.h +++ b/src/xrt/state_trackers/oxr/oxr_objects.h @@ -1292,7 +1292,10 @@ struct oxr_sub_paths */ struct oxr_source_set { - //! Common structure for things referred to by OpenXR handles. + /*! + * While this isn't an OpenXR handle type, we're using the handle base + * here to easily handle ownership and destruction. + */ struct oxr_handle_base handle; //! Owning session. @@ -1387,7 +1390,10 @@ struct oxr_source_cache */ struct oxr_source { - //! Common structure for things referred to by OpenXR handles. + /*! + * While this isn't an OpenXR handle type, we're using the handle base + * here to easily handle ownership and destruction. + */ struct oxr_handle_base handle; //! Type the action this source was created from is.