From bf811ac65d4e2a5bcc828aa8f4cb298af5f8ac9b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 9 Dec 2025 17:47:28 +0100 Subject: [PATCH] add obsolete interaction profile bindings --- client/scenes/stream_tracking.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index 70b68125..fa30e2f3 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -729,6 +729,19 @@ void scenes::stream::on_interaction_profile_changed(const XrEventDataInteraction DO_PROFILE(meta, touch_controller_quest_2) DO_PROFILE(samsung, odyssey_controller) DO_PROFILE(valve, index_controller) + + // FIXME: remove once support for pre-1.1 profiles is dropped + if (profile == "/interaction_profiles/facebook/touch_controller_pro") + { + interaction_profiles[i] = interaction_profile::meta_touch_pro_controller; + continue; + } + if (profile == "/interaction_profiles/meta/touch_controller_plus") + { + interaction_profiles[i] = interaction_profile::meta_touch_plus_controller; + continue; + } + spdlog::warn("unknown interaction profile {}", profile); } catch (std::exception & e) {