![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
Can't capture long press / hold
Hello there,
I'm working on a Smarthome Display based on Weblaunch, but I have a huge problem: I can't get onMouseDown or onTouchStart events in javascript. If i tap shortly on a button i get the onMouseDown and onClick events, but if you press for longer, i get no events at all, not even after releasing. Is there any way to capture those? Because of the slow display changes, people assume you need to hold down a button until something happens :-) - Belkaar |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
Awkward :-)
Figured it out 5 minutes after posting. I had to turn off all the gestures, including tap in /mnt/us/extensions/WebLaunch/bin/config.xml Code:
<kindle:gestures> <kindle:param name="drag" value="no"/> <kindle:param name="pinchzoom" value="no" properties="fire-on-zoom:1"/> <kindle:param name="tap" value="no"/> <kindle:param name="multi_tap" value="no"/> <kindle:param name="hold" value="no"/> </kindle:gestures> |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word long press bug | Nexutix | Marvin | 8 | 11-02-2016 11:48 AM |
Barnes and Noble to hold press conference Nov 3 | darrellstaley | Barnes & Noble NOOK | 1 | 10-31-2011 03:52 PM |
Cannot long-press on images | bsetzer | Android Developer's Corner | 0 | 02-19-2011 09:00 AM |
iPhone Macworld: Apple to hold iPhone 4 Press Conference | kjk | Apple Devices | 82 | 07-19-2010 07:00 AM |
Unutterably Silly The How Long Can Marc Hold His Breath Poll | pshrynk | Lounge | 113 | 02-28-2009 06:13 AM |