diff --git a/scripts/generate_oxr_ext_support.py b/scripts/generate_oxr_ext_support.py index ad9ac64cb..4843b1d3c 100755 --- a/scripts/generate_oxr_ext_support.py +++ b/scripts/generate_oxr_ext_support.py @@ -56,6 +56,7 @@ EXTENSIONS = ( ['XR_EXT_eye_gaze_interaction'], ['XR_EXT_hand_tracking'], ['XR_EXT_hp_mixed_reality_controller'], + ['XR_EXT_palm_pose', 'ALWAYS_DISABLED'], ['XR_EXT_samsung_odyssey_controller'], ['XR_FB_display_refresh_rate'], ['XR_ML_ml2_controller_interaction'], diff --git a/src/xrt/state_trackers/oxr/oxr_extension_support.h b/src/xrt/state_trackers/oxr/oxr_extension_support.h index c62245abb..28c6b34fa 100644 --- a/src/xrt/state_trackers/oxr/oxr_extension_support.h +++ b/src/xrt/state_trackers/oxr/oxr_extension_support.h @@ -280,6 +280,17 @@ #endif +/* + * XR_EXT_palm_pose + */ +#if defined(XR_EXT_palm_pose) && defined(ALWAYS_DISABLED) +#define OXR_HAVE_EXT_palm_pose +#define OXR_EXTENSION_SUPPORT_EXT_palm_pose(_) _(EXT_palm_pose, EXT_PALM_POSE) +#else +#define OXR_EXTENSION_SUPPORT_EXT_palm_pose(_) +#endif + + /* * XR_EXT_samsung_odyssey_controller */ @@ -452,6 +463,7 @@ OXR_EXTENSION_SUPPORT_EXT_eye_gaze_interaction(_) \ OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \ OXR_EXTENSION_SUPPORT_EXT_hp_mixed_reality_controller(_) \ + OXR_EXTENSION_SUPPORT_EXT_palm_pose(_) \ OXR_EXTENSION_SUPPORT_EXT_samsung_odyssey_controller(_) \ OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) \ OXR_EXTENSION_SUPPORT_ML_ml2_controller_interaction(_) \