I used babylonjs to develop a small webgl application showing in a canvas.
Users can interact with the animation using the arrow keys (see https://doc.babylonjs.com/how_to/interactions#keyboard-interactions ).
On desktop, it works perfectly OK. On mobile, the keyboard doesn't show up because there is not text input, so the arrows cannot be used.
What should I do ?
1- simple Way :
you can design a panel with 4 buttons and allow user pressing them ... and place it over your canvas
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.