diff --git a/src/xrt/auxiliary/util/u_pretty_print.c b/src/xrt/auxiliary/util/u_pretty_print.c index 85c4727e0..ca583d835 100644 --- a/src/xrt/auxiliary/util/u_pretty_print.c +++ b/src/xrt/auxiliary/util/u_pretty_print.c @@ -1,9 +1,10 @@ -// Copyright 2022, Collabora, Ltd. +// Copyright 2022-2023, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Pretty printing various Monado things. * @author Jakob Bornecrantz + * @author Korcan Hussein * @ingroup aux_pretty */ @@ -115,6 +116,7 @@ u_pp_xrt_input_name(struct u_pp_delegate dg, enum xrt_input_name name) case XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT: DG("XRT_INPUT_GENERIC_HAND_TRACKING_RIGHT"); return; case XRT_INPUT_GENERIC_TRACKER_POSE: DG("XRT_INPUT_GENERIC_TRACKER_POSE"); return; case XRT_INPUT_GENERIC_EYE_GAZE_POSE: DG("XRT_INPUT_GENERIC_EYE_GAZE_POSE"); return; + case XRT_INPUT_GENERIC_PALM_POSE: DG("XRT_INPUT_GENERIC_PALM_POSE"); return; case XRT_INPUT_SIMPLE_SELECT_CLICK: DG("XRT_INPUT_SIMPLE_SELECT_CLICK"); return; case XRT_INPUT_SIMPLE_MENU_CLICK: DG("XRT_INPUT_SIMPLE_MENU_CLICK"); return; case XRT_INPUT_SIMPLE_GRIP_POSE: DG("XRT_INPUT_SIMPLE_GRIP_POSE"); return; diff --git a/src/xrt/include/xrt/xrt_defines.h b/src/xrt/include/xrt/xrt_defines.h index eb829638a..69e38f86b 100644 --- a/src/xrt/include/xrt/xrt_defines.h +++ b/src/xrt/include/xrt/xrt_defines.h @@ -1,4 +1,4 @@ -// Copyright 2019-2021, Collabora, Ltd. +// Copyright 2019-2023, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file @@ -6,6 +6,7 @@ * @author Jakob Bornecrantz * @author Moses Turner * @author Nis Madsen + * @author Korcan Hussein * @ingroup xrt_iface */ @@ -755,6 +756,8 @@ enum xrt_input_name XRT_INPUT_GENERIC_STAGE_SPACE_POSE = XRT_INPUT_NAME(0x0006, POSE), XRT_INPUT_GENERIC_LOCAL_SPACE_POSE = XRT_INPUT_NAME(0x0007, POSE), XRT_INPUT_GENERIC_EYE_GAZE_POSE = XRT_INPUT_NAME(0x0008, POSE), + //! XR_EXT_palm_pose + XRT_INPUT_GENERIC_PALM_POSE = XRT_INPUT_NAME(0x0009, POSE), XRT_INPUT_SIMPLE_SELECT_CLICK = XRT_INPUT_NAME(0x0010, BOOLEAN), XRT_INPUT_SIMPLE_MENU_CLICK = XRT_INPUT_NAME(0x0011, BOOLEAN),