From 07a9c9a74439db6633af70c006b0f7af89a453da Mon Sep 17 00:00:00 2001 From: "Randall E. Barker" Date: Fri, 3 Jul 2020 05:57:54 -0700 Subject: [PATCH] Convert LEFT to Left in Neo 2 left controller name (#3613) --- app/src/picovr/cpp/DeviceDelegatePicoVR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/picovr/cpp/DeviceDelegatePicoVR.cpp b/app/src/picovr/cpp/DeviceDelegatePicoVR.cpp index cc01ab18a..c581c8d3c 100644 --- a/app/src/picovr/cpp/DeviceDelegatePicoVR.cpp +++ b/app/src/picovr/cpp/DeviceDelegatePicoVR.cpp @@ -368,7 +368,7 @@ DeviceDelegatePicoVR::SetControllerDelegate(ControllerDelegatePtr& aController) if (m.type == k6DofHeadSet) { vrb::Matrix beam = vrb::Matrix::Rotation(vrb::Vector(1.0f, 0.0f, 0.0f), -vrb::PI_FLOAT / 11.5f); beam.TranslateInPlace(vrb::Vector(0.0f, 0.012f, -0.06f)); - m.controllerDelegate->CreateController(index, int32_t(controller.hand), controller.IsRightHand() ? "Pico Neo 2 (Right)" : "Pico Neo 2 (LEFT)", beam); + m.controllerDelegate->CreateController(index, int32_t(controller.hand), controller.IsRightHand() ? "Pico Neo 2 (Right)" : "Pico Neo 2 (Left)", beam); m.controllerDelegate->SetButtonCount(index, kNumButtons); m.controllerDelegate->SetHapticCount(index, 1); m.controllerDelegate->SetControllerType(index, device::PicoNeo2);