DeviceOrientation API : How to map event.alpha to move cursor along x axis?

前端 未结 0 959
南笙
南笙 2020-12-15 10:22

I want to allow users pointing their cellphone at a screen to control a cursor on screen. To do that, I am using the DeviceOrientation API. I can easily map event.beta

相关标签:
回答
  • 消灭零回复
提交回复
热议问题