Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Add virtual controller to NoAPI immersive mode #1256

Merged
merged 1 commit into from
May 24, 2019
Merged

Conversation

bluemarvin
Copy link
Contributor

No description provided.

@bluemarvin bluemarvin requested a review from MortimerGoro May 23, 2019 19:31
@@ -154,8 +180,10 @@ DeviceDelegateNoAPI::SetClipPlanes(const float aNear, const float aFar) {
void
DeviceDelegateNoAPI::SetControllerDelegate(ControllerDelegatePtr& aController) {
m.controller = aController;
m.controller->CreateController(0, -1, "");
m.controller->CreateController(0, -1, "FxR Virtual Controller");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use a common controller name here for the engines which filter by controller name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was using the Daydream controller name string initially, but was curious what would happen if I used a unique name most everything I tried worked. But it doesn't work with hubs. so I guess I could use a known string. I tried using "Oculus Touch (Right)" and Hubs actually won't start in FxR NoAPI. I've tried all the different known controller names and none of them really work so I'm inclined to just leave it.

@MortimerGoro MortimerGoro merged commit 3328dde into master May 24, 2019
@philip-lamb philip-lamb deleted the noapi-immersive branch May 29, 2019 06:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants