Touch in VL

I’ve asked this previously, but I think things have moved a long a bit with VL and touch, I’ve loaded the help patch for HowTo Get Mouse Keyboard Touch of Windows.vl, which I can see quantity aof pressed pointers, but I want to extract the position spread of those points, is this possible now in VL?

Yes, but depends on for stride or for skia, look for the help patches, there is plenty of info…

image

image

image

1 Like

That doesn’t seem to output the XY position of the touches though.

Can this be used?

image

if you have pressed or down pointers in the list, each pointer will have the position property. is this 0/0 for you? or what do you mean by doesn’t output the XY position?

With Touch [Graphics.Skia.IO] it outputs, Layer, Position in World : Spread , and id: Spread.

Can the Position PointerPoint deliver the Spread:?

Thanks

Yes, as described above, you will get the spread like this:
image

but now we have datatypes, which is much better than just a spread of positions because it keeps all data per pointer together (position, id, state, etc.) instead of splitting it into many individual spreads.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.