jeromeetienne / virtualjoystick.js

a virtual joystick library to emulate a joystick on touch screen in javascript
http://jeromeetienne.github.com/virtualjoystick.js/examples/basic.html
MIT License
417 stars 125 forks source link

Cannot restrict area with dual joystick #38

Open embadmath opened 6 years ago

embadmath commented 6 years ago

Hi, i want to make a interface with 2 joystick (left bottom and right bottom) and a status bar with three buttons. But when i try to click button i get touch event from joystick and buttons aren't clicked.

How can i restrict area?

Thanks