Add initial controller offset values for Pico 4

This commit is contained in:
Mhowser
2024-11-11 13:30:06 +01:00
committed by xytovl
parent 589b685bef
commit d8e023cbf4
+10
View File
@@ -265,6 +265,16 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
default:
break;
}
else if (profile == "pico-4")
switch (space)
{
case xr::spaces::grip_left:
case xr::spaces::grip_right:
return {{0, -0.030, -0.040}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})};
default:
break;
}
return {{0, 0, 0}, {1, 0, 0, 0}};
}