MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Dismiss HUD with UI button #86

Open cvan opened 9 years ago

cvan commented 9 years ago

https://trello.com/c/D4vk9haP/132-close-hud-with-ui-button

When I am viewing a website in VR, I want to be able to access my browser controls in place, so that I can perform browsing operations without losing losing my sense of place.

Need software button in HUD that user can press to close HUD.

@caseyyee added HUD that opens via keyboard in issue #8 and PR #83. and in issue #9 I'm wiring up the Gamepad's vendor button (Xbox centre button on Xbox controller) to toggle the HUD.

cvan commented 9 years ago

pinging @jcarpenter

jcarpenter commented 9 years ago

Confirmed that Windows apps can access XBox guide button (center button). When using Steam, for example, pressing the guide button triggers a Steam UI menu. It also triggers the Windows XBox controller menu, at the bottom of the screen. Firefox windows GamePad API implementation does not currently support accessing guide button. We should file a bug to enable FF to do so.

cvan commented 9 years ago

We should file a bug to enable FF to do so.

filed https://bugzilla.mozilla.org/show_bug.cgi?id=1167457

jcarpenter commented 9 years ago

Has been marked resolved invalid by Ted.

This button isn't exposed by the driver on Windows. Sorry.

cvan commented 9 years ago

Has been marked resolved invalid by Ted.

This button isn't exposed by the driver on Windows. Sorry.

but @kearwood added a comment saying it might be possible?

jcarpenter commented 9 years ago

Let's mark it closed, since we have a working solution. And open a separate issue if we want to use a different game pad button.

jcarpenter commented 9 years ago

Derp. I forgot that I actually removed the working solution. I'll leave this closed for now and look at adding that back in this week.

cvan commented 9 years ago

Not sure we need to do this anymore personally, but we can talk this through on Vidyo or something.

caseyyee commented 9 years ago

We have center viewport currently mapped to the back button on the Xbox controller (left of the vendor button). This is actually a pretty convenient place for it, but we could still use some UI to go with it.

cvan commented 9 years ago

We have center viewport currently mapped to the back button on the Xbox controller (left of the vendor button). This is actually a pretty convenient place for it, but we could still use some UI to go with it.

did you mean to post this in the issue about the Reset Sensor (#89)?

caseyyee commented 9 years ago

Oops. I totally did. I still do question the need for a dismiss HUD button though. Seems kind of superfluous. Once the user learns to toggle the HUD there is no need to display any sort of UI for it. I see it very much like the vendor/home button for xbox, playstation, ios device, etc. (I realize this depends somewhat on the button being available of course).

cvan commented 9 years ago

Oops. I totally did. I still do question the need for a dismiss HUD button though. Seems kind of superfluous. Once the user learns to toggle the HUD there is no need to display any sort of UI for it. I see it very much like the vendor/home button for xbox, playstation, ios device, etc. (I realize this depends somewhat on the button being available of course).

agreed