Does LC Have A touchLoc() Function?

John Craig john at splash21.com
Mon Sep 22 04:50:12 EDT 2014


The last time I checked, a touchMove was always fired after a touchStart 
(so you can reliably pick up the initial position). TouchMove events can 
then track each individual touch id.  I think mouseLoc always reported 
the position of the first touch.


On 21/09/2014 21:09, Scott Rossi wrote:
> Does anyone know if LiveCode has touch-based function equivalent of
> mouseLoc?  I'm thinking along the lines of touchLoc(id).  I'm not seeing
> anything in dictionaries or release notes, but it's possible I'm missing
> it.
>
> Currently, there doesn't seem to be any way to poll the current active
> touches, which is something that has always been possible on desktop with
> the mouseLoc function.  Using touchMove is not an option, because this
> only fires when there's movement of some kind.
>
> I'd like to open a feature request for a touchLoc(id) function that would
> return the loc of a touch id, and a touchLocs() function which would
> return all currently active touch ids and their locations.  Unless this
> already exists, or there's some other way of getting this information and
> I'm just not seeing it.
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list