On Oct 28, 4:23 pm, creativecreek <[EMAIL PROTECTED]> wrote:
> So far I have not found a solution for the button latency but I
> agree with Revar that it is possible to get about 2 button press
> onclick notifications per second.
>

iPhone Safari is unfortunately quite selfish with 'touch' events it
shares with the app (as well as with screen, which it gratiuitously
takes over; or with focus, which can be obtained only after a real
tap, i.e. synthesized events don't work). Since the iPhone screen is a
multi-touch surface, the 'touch state' contains 320x480 = 153,600 bits
= 18.75 K of info at any moment. Any change in the touched subset of
points could be passed to the app in real time (encoded in a run-
length form).

Still, for any quick tap you can get the onscroll events right away
(no delay and no change in position or scale), but you don't get the
tap location. You can then at least generate a suitable visual effect
(sound would be even better, but that's inaccessible, too) to let user
know the tap was registered, then wait 500-600 ms for the location
info from the onclick() handler to perform a more specific response.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to