From 3ef19c2e7906c1cbfd2596dfbfe2d827528dd60a Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 27 Jan 2025 23:35:53 +0100 Subject: [PATCH] Fix path for palm_ext pose --- client/application.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index 1ba171e4..69d57fc1 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -653,10 +653,10 @@ void application::initialize_actions() // Patch profile to add palm_ext if (utils::contains(xr_extensions, XR_EXT_PALM_POSE_EXTENSION_NAME) // and utils::contains(profile.input_sources, "/user/hand/left/input/grip/pose") // - and not utils::contains(profile.input_sources, "/user/hand/left/palm_ext/pose")) + and not utils::contains(profile.input_sources, "/user/hand/left/input/palm_ext/pose")) { - profile.input_sources.push_back("/user/hand/left/palm_ext/pose"); - profile.input_sources.push_back("/user/hand/right/palm_ext/pose"); + profile.input_sources.push_back("/user/hand/left/input/palm_ext/pose"); + profile.input_sources.push_back("/user/hand/right/input/palm_ext/pose"); } suggested_bindings.emplace(profile.profile_name, std::vector{}); @@ -691,9 +691,9 @@ void application::initialize_actions() spaces[size_t(xr::spaces::aim_right)] = xr_session.create_action_space(a); else if (name == "/user/eyes_ext/input/gaze_ext/pose") spaces[size_t(xr::spaces::eye_gaze)] = xr_session.create_action_space(a); - else if (name == "/user/hand/right/palm_ext/pose") + else if (name == "/user/hand/right/input/palm_ext/pose") spaces[size_t(xr::spaces::palm_right)] = xr_session.create_action_space(a); - else if (name == "/user/hand/left/palm_ext/pose") + else if (name == "/user/hand/left/input/palm_ext/pose") spaces[size_t(xr::spaces::palm_left)] = xr_session.create_action_space(a); }