From 314fc9c583b135cbed3d1c4b803ce22132dabae0 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 15 Jul 2023 13:04:16 +0100 Subject: [PATCH] ext/openxr: Add XR_MNDX_system_buttons header --- .../openxr/XR_MNDX_system_buttons.h | 26 +++++++++++++++++++ src/xrt/include/xrt/xrt_openxr_includes.h | 1 + 2 files changed, 27 insertions(+) create mode 100644 src/external/openxr_includes/openxr/XR_MNDX_system_buttons.h diff --git a/src/external/openxr_includes/openxr/XR_MNDX_system_buttons.h b/src/external/openxr_includes/openxr/XR_MNDX_system_buttons.h new file mode 100644 index 000000000..c07c718f0 --- /dev/null +++ b/src/external/openxr_includes/openxr/XR_MNDX_system_buttons.h @@ -0,0 +1,26 @@ +// Copyright 2023, Collabora, Ltd. +// SPDX-License-Identifier: BSL-1.0 +/*! + * @file + * @brief Preview header for XR_MNDX_system_buttons extension + * @author Jakob Bornecrantz + * @ingroup external_openxr + */ +#ifndef XR_MNDX_SYSTEM_BUTTONS_H +#define XR_MNDX_SYSTEM_BUTTONS_H 1 + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define XR_MNDX_system_buttons 1 +#define XR_MNDX_system_buttons_SPEC_VERSION 1 +#define XR_MNDX_SYSTEM_BUTTONS_EXTENSION_NAME "XR_MNDX_system_buttons" + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index cd0b34688..d81493eac 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -51,4 +51,5 @@ typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(con #include "openxr/loader_interfaces.h" #include "openxr/XR_MNDX_hydra.h" +#include "openxr/XR_MNDX_system_buttons.h" #include "openxr/XR_MNDX_ball_on_a_stick_controller.h"