Search Unity

How do you disable the "Windows" button on Mixed Reality controllers?

Discussion in 'VR' started by rwblodgett, May 2, 2018.

  1. rwblodgett

    rwblodgett

    Joined:
    Apr 4, 2017
    Posts:
    67
    Hi, we'd like to disable or replace the functionality in our app that disabled the default behavior of the "windows" button. Currently the windows button exits the app and returns to the portal home. We want to override this to do something else, or nothing at all. Any ideas? Thanks.
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    I don't believe that is something you can do, the home button is tied into the OS level for the controllers. You could try identifying the button ID and assign an event to it when it gets pressed and see if that does the trick. Although I'm not sure that will work.

    Button ID's
    https://docs.unity3d.com/Manual/Windows-Mixed-Reality-Input.html