diff --git a/client/hardware.cpp b/client/hardware.cpp index c558deff..745be7bf 100644 --- a/client/hardware.cpp +++ b/client/hardware.cpp @@ -348,6 +348,24 @@ std::pair controller_offset(std::string_view profile, xr:: default: break; } + else if (profile == "meta-quest-touch-plus") + { + switch (space) + { + case xr::spaces::grip_left: + case xr::spaces::grip_right: + return {{0, -0.010, -0.025}, glm::angleAxis(glm::radians(-12.f), glm::vec3{1, 0, 0})}; + + case xr::spaces::aim_left: + return {{0, 0, 0.03}, {1, 0, 0, 0}}; + + case xr::spaces::aim_right: + return {{0, 0, 0.03}, {1, 0, 0, 0}}; + + default: + break; + } + } else if (profile == "htc-vive-focus-3") switch (space) {