开发者

Double tap in webOS

开发者 https://www.devze.com 2022-12-13 14:27 出处:网络
How can I implement DoubleTap event 开发者_如何学运维and SingleTap event separately in webOS ?In your handler for Mojo.Event.tap, look at the event\'s count field.That will be 2 for a double-tap, 1 fo

How can I implement DoubleTap event 开发者_如何学运维and SingleTap event separately in webOS ?


In your handler for Mojo.Event.tap, look at the event's count field. That will be 2 for a double-tap, 1 for a single-tap. Note that you'll always get the single tap first, so make sure you don't do anything destructive on that.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号