简体   繁体   中英

How to interact with iPhone browser without touching it?

So, I am developing this VR website online with JavaScript. I have a function that instantiates an object in the 3D room, at the given location that the user is "watching".

However, I don't see how I can execute that function when my iPhone is locked away in the VR headset. I have been thinking about volumeup-button on my headset that is connected to it or something, but haven't found anyone that has done that before.

Do you guys have any advice? Could there be a way of connecting a BlueTooth remote to it? Or is it simply impossible?

TLDR; How to execute a function in the browser on your phone, when you can't touch your phone.

It is possible to connect Bluetooth keyboard to iOS devices, as you suggested in your post.

You might also leverage the other sensors in the phone (such as accelerometer, gyroscope, microphone), but I'm not certain if Safari has access to those. You would have more options if you developed a standalone application rather than trying to go through a browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM