Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
gedo831's avatar
gedo831
Protege
6 years ago

How do I detect if it s Rift or RiftS?

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?

2 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    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.
  • 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.