Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong position #35

Open
yaofangwx123 opened this issue Aug 27, 2018 · 4 comments
Open

wrong position #35

yaofangwx123 opened this issue Aug 27, 2018 · 4 comments

Comments

@yaofangwx123
Copy link

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
Copy link
Member

sorccu commented Aug 27, 2018

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.

@sorccu sorccu closed this as completed Aug 27, 2018
@yaofangwx123
Copy link
Author

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
Copy link
Member

sorccu commented Aug 27, 2018

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

@sorccu sorccu reopened this Aug 27, 2018
@yaofangwx123
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants