diff options
author | Claire Blackshaw <evilkimau@gmail.com> | 2024-08-08 11:09:29 +0100 |
---|---|---|
committer | Claire Blackshaw <evilkimau@gmail.com> | 2024-08-08 11:09:29 +0100 |
commit | 19c7afee07cbe0c54c861b2298095d7517df9b9c (patch) | |
tree | dfc64bc5ac42ac1a4ed030067709db7abbe314a3 /modules/openxr/register_types.cpp | |
parent | 03afb92efa18874da19f7fc185a32c005d20aa1d (diff) | |
download | redot-engine-19c7afee07cbe0c54c861b2298095d7517df9b9c.tar.gz |
OpenXR - Support for the Logitech MxInk Stylus
In future work we may want to expose an isStylus or similar for
XR Trackers, though that is likely outside the scope of this commit
which is the core extension work.
Vendor Ref: https://logitech.github.io/mxink/OpenXR.html
Diffstat (limited to 'modules/openxr/register_types.cpp')
-rw-r--r-- | modules/openxr/register_types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/openxr/register_types.cpp b/modules/openxr/register_types.cpp index 85514737f2..64381ae1c7 100644 --- a/modules/openxr/register_types.cpp +++ b/modules/openxr/register_types.cpp @@ -57,6 +57,7 @@ #include "extensions/openxr_local_floor_extension.h" #include "extensions/openxr_meta_controller_extension.h" #include "extensions/openxr_ml2_controller_extension.h" +#include "extensions/openxr_mxink_extension.h" #include "extensions/openxr_palm_pose_extension.h" #include "extensions/openxr_pico_controller_extension.h" #include "extensions/openxr_wmr_controller_extension.h" @@ -126,6 +127,7 @@ void initialize_openxr_module(ModuleInitializationLevel p_level) { OpenXRAPI::register_extension_wrapper(memnew(OpenXRMetaControllerExtension)); OpenXRAPI::register_extension_wrapper(memnew(OpenXREyeGazeInteractionExtension)); OpenXRAPI::register_extension_wrapper(memnew(OpenXRHandInteractionExtension)); + OpenXRAPI::register_extension_wrapper(memnew(OpenXRMxInkExtension)); // register gated extensions if (GLOBAL_GET("xr/openxr/extensions/hand_tracking")) { |