Forum Discussion
Ananas
11 years agoExplorer
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?
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
- MarbasHonored GuestIm 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. - drashHeroic 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. - PoddenProtegeYou can just check for the camera: If OVRDevice.IsCameraPresent() returns true, than it's DK2 (neat rhymes :D)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago