Skip to content

Commit 0f7b003

Browse files
committed
Switch roll and pitch
1 parent 435667b commit 0f7b003

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/psmoveconfigtool/AppStage_ControllerSettings.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ void AppStage_ControllerSettings::renderUI()
15781578

15791579
if (iOffsetView == 1)
15801580
{
1581-
ImGui::Text("Local Orientation X (Roll): ");
1581+
ImGui::Text("Local Orientation X (Pitch): ");
15821582
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
15831583
ImGui::PushItemWidth(120.f);
15841584
if (ImGui::InputFloat("##LocalOffsetOrientationX", &controllerInfo.OffsetOrientation.x, 1.f, 5.f, 2))
@@ -1606,7 +1606,7 @@ void AppStage_ControllerSettings::renderUI()
16061606
}
16071607
ImGui::PopItemWidth();
16081608

1609-
ImGui::Text("Local Orientation Z (Pitch): ");
1609+
ImGui::Text("Local Orientation Z (Roll): ");
16101610
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
16111611
ImGui::PushItemWidth(120.f);
16121612
if (ImGui::InputFloat("##LocalOffsetOrientationZ", &controllerInfo.OffsetOrientation.z, 1.f, 5.f, 2))
@@ -1622,7 +1622,7 @@ void AppStage_ControllerSettings::renderUI()
16221622

16231623
ImGui::Separator();
16241624

1625-
ImGui::Text("World Orientation X (Roll): ");
1625+
ImGui::Text("World Orientation X (Pitch): ");
16261626
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
16271627
ImGui::PushItemWidth(120.f);
16281628
if (ImGui::InputFloat("##WorldOffsetOrientationX", &controllerInfo.OffsetWorldOrientation.x, 1.f, 5.f, 2))
@@ -1653,7 +1653,7 @@ void AppStage_ControllerSettings::renderUI()
16531653

16541654
if (iOffsetView == 1)
16551655
{
1656-
ImGui::Text("World Orientation Z (Pitch): ");
1656+
ImGui::Text("World Orientation Z (Roll): ");
16571657
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
16581658
ImGui::PushItemWidth(120.f);
16591659
if (ImGui::InputFloat("##WorldOffsetOrientationZ", &controllerInfo.OffsetWorldOrientation.z, 1.f, 5.f, 2))

src/psmoveconfigtool/AppStage_HMDSettings.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ void AppStage_HMDSettings::renderUI()
865865

866866
if (iOffsetView == 1)
867867
{
868-
ImGui::Text("Local Orientation X (Roll): ");
868+
ImGui::Text("Local Orientation X (Pitch): ");
869869
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
870870
ImGui::PushItemWidth(120.f);
871871
if (ImGui::InputFloat("##LocalOffsetOrientationX", &hmdInfo.OffsetOrientation.x, 1.f, 5.f, 2))
@@ -893,7 +893,7 @@ void AppStage_HMDSettings::renderUI()
893893
}
894894
ImGui::PopItemWidth();
895895

896-
ImGui::Text("Local Orientation Z (Pitch): ");
896+
ImGui::Text("Local Orientation Z (Roll): ");
897897
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
898898
ImGui::PushItemWidth(120.f);
899899
if (ImGui::InputFloat("##LocalOffsetOrientationZ", &hmdInfo.OffsetOrientation.z, 1.f, 5.f, 2))
@@ -909,7 +909,7 @@ void AppStage_HMDSettings::renderUI()
909909

910910
ImGui::Separator();
911911

912-
ImGui::Text("World Orientation X (Roll): ");
912+
ImGui::Text("World Orientation X (Pitch): ");
913913
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
914914
ImGui::PushItemWidth(120.f);
915915
if (ImGui::InputFloat("##WorldOffsetOrientationX", &hmdInfo.OffsetWorldOrientation.x, 1.f, 5.f, 2))
@@ -940,7 +940,7 @@ void AppStage_HMDSettings::renderUI()
940940

941941
if (iOffsetView == 1)
942942
{
943-
ImGui::Text("World Orientation Z (Pitch): ");
943+
ImGui::Text("World Orientation Z (Roll): ");
944944
ImGui::SameLine(ImGui::GetWindowWidth() - 150.f);
945945
ImGui::PushItemWidth(120.f);
946946
if (ImGui::InputFloat("##WorldOffsetOrientationZ", &hmdInfo.OffsetWorldOrientation.z, 1.f, 5.f, 2))

0 commit comments

Comments
 (0)