mkeblx / android-webvr

Android WebView with WebVR support
MIT License
1 stars 1 forks source link

Magnetic sensor as button #2

Open mkeblx opened 9 years ago

mkeblx commented 9 years ago

Provide the 'click' functionality provided by the Cardboard Android SDK which uses the magnetic sensor + magnet in the web context.

onCardboardTrigger() https://developers.google.com/cardboard/api/reference/com/google/vrtoolkit/cardboard/sensors/MagnetSensor.OnCardboardTriggerListener