diff --git a/scripts/generate_oxr_ext_support.py b/scripts/generate_oxr_ext_support.py index 8d5cbdc5a..0ee671db5 100755 --- a/scripts/generate_oxr_ext_support.py +++ b/scripts/generate_oxr_ext_support.py @@ -105,10 +105,10 @@ EXTENSIONS = ( ['XR_HTCX_vive_tracker_interaction', 'ALWAYS_DISABLED'], ['XR_MNDX_ball_on_a_stick_controller', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], ['XR_MNDX_blubur_s1', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], - ['XR_MNDX_oculus_remote', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], ['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL'], ['XR_MNDX_force_feedback_curl', 'XRT_FEATURE_OPENXR_FORCE_FEEDBACK_CURL'], ['XR_MNDX_hydra', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], + ['XR_MNDX_oculus_remote', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], ['XR_MNDX_psvr2_interaction', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], ['XR_MNDX_system_buttons', 'XRT_FEATURE_OPENXR_INTERACTION_MNDX'], ['XR_MNDX_xdev_space', 'XRT_FEATURE_OPENXR_XDEV_SPACE'], diff --git a/src/xrt/state_trackers/oxr/oxr_extension_support.h b/src/xrt/state_trackers/oxr/oxr_extension_support.h index 34be945ec..ee92caa77 100644 --- a/src/xrt/state_trackers/oxr/oxr_extension_support.h +++ b/src/xrt/state_trackers/oxr/oxr_extension_support.h @@ -796,17 +796,6 @@ #endif -/* - * XR_MNDX_oculus_remote - */ -#if defined(XR_MNDX_oculus_remote) && defined(XRT_FEATURE_OPENXR_INTERACTION_MNDX) -#define OXR_HAVE_MNDX_oculus_remote -#define OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) _(MNDX_oculus_remote, MNDX_OCULUS_REMOTE) -#else -#define OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) -#endif - - /* * XR_MNDX_egl_enable */ @@ -840,6 +829,17 @@ #endif +/* + * XR_MNDX_oculus_remote + */ +#if defined(XR_MNDX_oculus_remote) && defined(XRT_FEATURE_OPENXR_INTERACTION_MNDX) +#define OXR_HAVE_MNDX_oculus_remote +#define OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) _(MNDX_oculus_remote, MNDX_OCULUS_REMOTE) +#else +#define OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) +#endif + + /* * XR_MNDX_psvr2_interaction */ @@ -964,10 +964,10 @@ OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \ OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \ OXR_EXTENSION_SUPPORT_MNDX_blubur_s1(_) \ - OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) \ OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_) \ OXR_EXTENSION_SUPPORT_MNDX_force_feedback_curl(_) \ OXR_EXTENSION_SUPPORT_MNDX_hydra(_) \ + OXR_EXTENSION_SUPPORT_MNDX_oculus_remote(_) \ OXR_EXTENSION_SUPPORT_MNDX_psvr2_interaction(_) \ OXR_EXTENSION_SUPPORT_MNDX_system_buttons(_) \ OXR_EXTENSION_SUPPORT_MNDX_xdev_space(_)