benvanik / vr.js

NPAPI plugin to expose fun VR devices to Javascript.
Apache License 2.0
498 stars 105 forks source link

Detect locked OVR devices. #4

Open benvanik opened 11 years ago

benvanik commented 11 years ago

If an application is already open and using the HMDDevice it will be enumerable and creatable but only yield a 0,0,0,1 quat from the sensor data. This is likely detectable, and it'd be nice to return better state errors so that apps can tell the user ('close other apps/etc').