diff --git a/scripts/generate_oxr_ext_support.py b/scripts/generate_oxr_ext_support.py index 4843b1d3c..4a823f6d1 100755 --- a/scripts/generate_oxr_ext_support.py +++ b/scripts/generate_oxr_ext_support.py @@ -62,6 +62,7 @@ EXTENSIONS = ( ['XR_ML_ml2_controller_interaction'], ['XR_MND_headless'], ['XR_MND_swapchain_usage_input_attachment_bit'], + ['XR_MSFT_hand_interaction', 'ALWAYS_DISABLED'], ['XR_EXTX_overlay'], ['XR_HTCX_vive_tracker_interaction', 'ALWAYS_DISABLED'], ['XR_MNDX_ball_on_a_stick_controller'], diff --git a/src/xrt/state_trackers/oxr/oxr_extension_support.h b/src/xrt/state_trackers/oxr/oxr_extension_support.h index 28c6b34fa..272a8e698 100644 --- a/src/xrt/state_trackers/oxr/oxr_extension_support.h +++ b/src/xrt/state_trackers/oxr/oxr_extension_support.h @@ -349,6 +349,17 @@ #endif +/* + * XR_MSFT_hand_interaction + */ +#if defined(XR_MSFT_hand_interaction) && defined(ALWAYS_DISABLED) +#define OXR_HAVE_MSFT_hand_interaction +#define OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_) _(MSFT_hand_interaction, MSFT_HAND_INTERACTION) +#else +#define OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_) +#endif + + /* * XR_EXTX_overlay */ @@ -469,6 +480,7 @@ OXR_EXTENSION_SUPPORT_ML_ml2_controller_interaction(_) \ OXR_EXTENSION_SUPPORT_MND_headless(_) \ OXR_EXTENSION_SUPPORT_MND_swapchain_usage_input_attachment_bit(_) \ + OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_) \ OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \ OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \ OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \