Unity Button ID — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Unity Button ID

ChrisELChrisEL Posts: 4
NerveGear

Hello

I try to use now the new integrated unity input mapping for the oculus touch controllers https://docs.unity3d.com/Manual/OculusControllers.html

but some of the VR-inputs need the unity button ID and i have no idea how to use them. I test it in the input manager. I use the ID as klicked button (ID 1 = button one) but this dosn't work. Also Input.GetButton(ID) do not work. Can somebody help me?

kind regards

Comments

  • shashkesshashkes Posts: 31 Oculus Start Member
    if you go to unity  asset menu and choose input you will see a list of all the names of the existing button in a program you can insert that name as the id for instance Input.GetButton("Button1") will give you I think button B on touch
Sign In or Register to comment.