mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
st/oxr: Add disabled XR_HTCX_vive_tracker defines
Useful for various compiletime checks.
This commit is contained in:
parent
a8c5be8f5c
commit
2aed9184e6
|
@ -62,6 +62,7 @@ EXTENSIONS = (
|
|||
['XR_MND_headless'],
|
||||
['XR_MND_swapchain_usage_input_attachment_bit'],
|
||||
['XR_EXTX_overlay'],
|
||||
['XR_HTCX_vive_tracker_interaction', 'ALWAYS_DISABLED'],
|
||||
['XR_MNDX_ball_on_a_stick_controller'],
|
||||
['XR_MNDX_egl_enable', 'XR_USE_PLATFORM_EGL', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||
['XR_MNDX_force_feedback_curl'],
|
||||
|
|
|
@ -349,6 +349,18 @@
|
|||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_HTCX_vive_tracker_interaction
|
||||
*/
|
||||
#if defined(XR_HTCX_vive_tracker_interaction) && defined(ALWAYS_DISABLED)
|
||||
#define OXR_HAVE_HTCX_vive_tracker_interaction
|
||||
#define OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \
|
||||
_(HTCX_vive_tracker_interaction, HTCX_VIVE_TRACKER_INTERACTION)
|
||||
#else
|
||||
#define OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_)
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_MNDX_ball_on_a_stick_controller
|
||||
*/
|
||||
|
@ -446,6 +458,7 @@
|
|||
OXR_EXTENSION_SUPPORT_MND_headless(_) \
|
||||
OXR_EXTENSION_SUPPORT_MND_swapchain_usage_input_attachment_bit(_) \
|
||||
OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \
|
||||
OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \
|
||||
OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \
|
||||
OXR_EXTENSION_SUPPORT_MNDX_egl_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_MNDX_force_feedback_curl(_) \
|
||||
|
|
Loading…
Reference in a new issue