diff --git a/scripts/generate_oxr_ext_support.py b/scripts/generate_oxr_ext_support.py index 1094cb228..f0f300490 100755 --- a/scripts/generate_oxr_ext_support.py +++ b/scripts/generate_oxr_ext_support.py @@ -26,6 +26,7 @@ EXTENSIONS = ( ['XR_KHR_vulkan_enable', 'XR_USE_GRAPHICS_API_VULKAN'], ['XR_KHR_vulkan_enable2', 'XR_USE_GRAPHICS_API_VULKAN'], ['XR_EXT_debug_utils', 'XRT_FEATURE_OPENXR_DEBUG_UTILS'], + ['XR_EXT_dpad_binding'], ['XR_EXT_hand_tracking'], ['XR_FB_display_refresh_rate'], ['XR_MND_headless'], diff --git a/src/xrt/state_trackers/oxr/oxr_extension_support.h b/src/xrt/state_trackers/oxr/oxr_extension_support.h index a46ac5392..1dd562874 100644 --- a/src/xrt/state_trackers/oxr/oxr_extension_support.h +++ b/src/xrt/state_trackers/oxr/oxr_extension_support.h @@ -201,6 +201,17 @@ #endif +/* + * XR_EXT_dpad_binding + */ +#if defined(XR_EXT_dpad_binding) +#define OXR_HAVE_EXT_dpad_binding +#define OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_) _(EXT_dpad_binding, EXT_DPAD_BINDING) +#else +#define OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_) +#endif + + /* * XR_EXT_hand_tracking */ @@ -319,6 +330,7 @@ OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \ OXR_EXTENSION_SUPPORT_KHR_vulkan_enable2(_) \ OXR_EXTENSION_SUPPORT_EXT_debug_utils(_) \ + OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_) \ OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \ OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) \ OXR_EXTENSION_SUPPORT_MND_headless(_) \