MobMuPlat icon indicating copy to clipboard operation
MobMuPlat copied to clipboard

multitouch with negative values on iOS devices

Open lokkiikkol opened this issue 1 year ago • 2 comments

the multitouch object on iOS devices (tested on different iPhones) outputs negative values when "creating" a touchpoint (finger in the pad-area) and then moving outside the area with the finger still depressed on the left or bottom. right side and top are correctly capped at 1, left and bottom go down to -1 if your screen is big enough (or the multitouch object small enough).

I think android does not exhibit this bug, but I haven't tested in a long time

lokkiikkol avatar Aug 05 '23 22:08 lokkiikkol

I don't reproduce this behavior; can you elaborate?

I am running the 'MMPTutorial2' patch, with an example multitouch. I drag my finger out of the bounds of the rectangle, and the values are still positive. See attached, where I drag off the bottom.

Screenshot 2023-08-06 at 2 25 47 PM (1)

monkeyswarm avatar Aug 06 '23 21:08 monkeyswarm

Maybe I am missing something, but on your screenshot I see negative values for the y position, no? It says -0.178 this number stays at zero on Android I think. Also going over the top it stays at 1...

On 6 Aug 2023, at 23:28, Daniel Iglesia @.***> wrote:

I don't reproduce this behavior; can you elaborate?

I am running the 'MMPTutorial2' patch, with an example multitouch. I drag my finger out of the bounds of the rectangle, and the values are still positive. See attached, where I drag off the bottom.

https://user-images.githubusercontent.com/1235083/258666573-82238c4f-9675-401c-aa32-7a25560abde1.png — Reply to this email directly, view it on GitHub https://github.com/monkeyswarm/MobMuPlat/issues/94#issuecomment-1666971655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDSM37E2WKF5ZCCL2TO4BLXUAD6JANCNFSM6AAAAAA3FOYLBU. You are receiving this because you authored the thread.

lokkiikkol avatar Aug 08 '23 07:08 lokkiikkol