I'm making a game for Samsung watches using Tizen Web App and HTML5 Canvas. I'm trying to disable vibrate feedback every time the user presses the screen.
I've tried return false
at the end of the event, and that didn't work.
The only other idea I've found is adding tizen.feedback.stop()
at the beginning of the event, however this only forces the watch to stop vibrating after it's already started, making it unpredictable. However, this makes it seems like the vibration starts before the event, but I know it's possible cause I've seen other apps without the vibrate feedback.
And all it takes is an element to click on for it to vibrate:
<div style="width:200px; height:200px; background-color:red;" onmousedown="click();"></div>
So how do I disable vibrate on touch for good? Thanks.
question from:
https://stackoverflow.com/questions/65877509/disable-vibrate-feedback-ontouch-in-tizen-web-app-on-samsung-watch 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…