From f340dc5940aee0a171569a8bd529bbc5aa04268b Mon Sep 17 00:00:00 2001 From: Sapphire Date: Thu, 11 Dec 2025 22:59:05 -0600 Subject: [PATCH] Don't patch pinch_ext or pose_ext into non-controller interaction profiles --- client/application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/application.cpp b/client/application.cpp index 2aef59bf..8494c303 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1062,7 +1062,9 @@ void application::initialize_actions() } // Patch profile to add pinch_ext/pose and poke_ext/pose - if (!profile.profile_name.ends_with("ext/hand_interaction_ext") && xr_instance.has_extension(XR_EXT_HAND_INTERACTION_EXTENSION_NAME)) + if (xr_instance.has_extension(XR_EXT_HAND_INTERACTION_EXTENSION_NAME) // + and utils::contains(profile.input_sources, "/user/hand/left/input/grip/pose") // + and not utils::contains(profile.input_sources, "/user/hand/left/input/pinch_ext/pose")) { spdlog::info("Adding pinch_ext/pose for interaction profile {}", profile.profile_name); profile.input_sources.push_back("/user/hand/left/input/pinch_ext/pose");