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.

How do I detect if it s Rift or RiftS?

gedo831gedo831 Posts: 18
NerveGear
This should be done quite easily but I could not find in OVR documentation.
I want to switch the touch controller model accordingly.
Can anyone advice me how to make it work?

Comments

  • StuntFriarStuntFriar Posts: 9
    NerveGear
    edited November 7
    Oops, just realized this is in the Unity thread.

    There are functions in UE4 in this class called the OculusFunctionLibrary that lets you grab stuff such as the device name.

    If something similar doesn't exist in Unity, another hack I guess is to obtain the device's display frequency - The Rift runs at 90Hz while the Rift S runs at 80Hz.

    Hopefully there's a means of doing this in Unity. Sorry I couldn't be of more help.
  • gedo831gedo831 Posts: 18
    NerveGear
    Hey, thank you so much for the information, StuntFriar!
    I have almost given up getting any reply from anyone. I will look into the frequency checking if that is possible in the Unity.
Sign In or Register to comment.