[Bf-blender-cvs] [964d3a38fac] master: XR: Enable Vive Focus 3 controller extension

Peter Kim noreply at git.blender.org
Fri Feb 18 09:01:11 CET 2022


Commit: 964d3a38fac8fd9ba90e6a94d26546f2d0651116
Author: Peter Kim
Date:   Fri Feb 18 17:00:43 2022 +0900
Branches: master
https://developer.blender.org/rB964d3a38fac8fd9ba90e6a94d26546f2d0651116

XR: Enable Vive Focus 3 controller extension

Allows controller-specific action bindings for the HTC Vive Focus 3
controller. Currently not supported by any OpenXR runtimes (save for
the dedicated Focus 3 runtime in developer early-access:
https://forum.vive.com/topic/11354-openxr-support-for-focus-3-early-access-application-form),
but useful to have for the future.

===================================================================

M	intern/ghost/intern/GHOST_XrContext.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp
index 5d8feb8e48a..716b60799f9 100644
--- a/intern/ghost/intern/GHOST_XrContext.cpp
+++ b/intern/ghost/intern/GHOST_XrContext.cpp
@@ -412,6 +412,7 @@ void GHOST_XrContext::getExtensionsToEnable(
   /* Interaction profile extensions. */
   try_ext.push_back(XR_EXT_HP_MIXED_REALITY_CONTROLLER_EXTENSION_NAME);
   try_ext.push_back(XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME);
+  try_ext.push_back(XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME);
   try_ext.push_back(XR_HUAWEI_CONTROLLER_INTERACTION_EXTENSION_NAME);
 
   /* Controller model extension. */



More information about the Bf-blender-cvs mailing list