Forum Discussion

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

Check if DK1 or DK2

Firstly I have a question: Should I make two different versions, one for DK1 and another for DK2 or should I just do DK2 version (because you can play it with DK1 too)?

If yes, is there a command to check whether the user is using DK1 or DK2?

3 Replies

Replies have been turned off for this discussion
  • Marbas's avatar
    Marbas
    Honored Guest
    Im not sure if there is a function to check if DK1 or 2 (Id like to know also).

    Shouldn't be necessary to make 2 version. I got both DK's, and projects build with SDK 0.4.2 does work with both.
  • drash's avatar
    drash
    Heroic Explorer
    "Ananas" wrote:
    If yes, is there a command to check whether the user is using DK1 or DK2?

    Podden's got a thread on this right here.

    Even if you use one build for DK1, DK2, HD prototype, etc, it may still help in some cases to know which headset it is so you can properly size UI elements for the resolution or something.
  • You can just check for the camera: If OVRDevice.IsCameraPresent() returns true, than it's DK2 (neat rhymes :D)