openstf / minitouch

Minimal multitouch event producer for Android.
Other
639 stars 236 forks source link

wrong position #35

Open yaofangwx123 opened 6 years ago

yaofangwx123 commented 6 years ago

Hi,Simo Kinnunen!I found when I use minitouch in some advices,if I press slot 0,then I press slot 1,when I up the slot 1,the slot 1 position will be drag to the left-bottom corner,but just appear at some devices,so if you have so solutions to solve it?thanks!^_^

sorccu commented 6 years ago

Read past issues. The coordinate space of the touch device doesn't necessarily match the coordinate space of the display. If you receive user input as display coordinates, you must map them to touch coordinates first before handing them to minitouch.

yaofangwx123 commented 6 years ago

ok,ofcouse I have map them to the space,and when I send the points,it's position show well correctly. But now the problem is that if I have 2 points are pressed then I up one,then the up point will drag to the left-bottom corner,I meet like this problem only from 2 device,others are ok!it so strange

sorccu commented 6 years ago

Can you provide an example, perhaps with a graph or picture explaining the situation?

yaofangwx123 commented 6 years ago

OK I have send you a email about it!thanks!