Skip to content

Commit

Permalink
Replace Gamepad id from "Gear VR Controller" to Oculus Go/HTC HTC Viv…
Browse files Browse the repository at this point in the history
…e Focus.
  • Loading branch information
daoshengmu committed Mar 4, 2019
1 parent 1e61c90 commit 1c6d0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ struct DeviceDelegateOculusVR::State {
controller->SetButtonCount(count, 6);
} else {
// Oculus Go only has one kind of controller model.
controller->CreateController(count, 0, "Gear VR Controller");
controller->CreateController(count, 0, "Oculus Go Controller");
controller->SetButtonCount(count, 2);
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/wavevr/cpp/DeviceDelegateWaveVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ DeviceDelegateWaveVR::SetControllerDelegate(ControllerDelegatePtr& aController)
return;
}
for (int32_t index = 0; index < kMaxControllerCount; index++) {
m.delegate->CreateController(index, 0, "Gear VR Controller");
m.delegate->CreateController(index, 0, "HTC Vive Focus Controller");
}
}

Expand Down

0 comments on commit 1c6d0b1

Please sign in to comment.