Page 1 of 1

Single touch input for touchscreens

Posted: Wed Apr 18, 2018 9:57 am
by syedharoonalam
Whats the best approach for single touch input for touchscreen on an embedded device?

I can see on the forums that I have an option for OIS Multitouch and Mouse Up/Down events.
Checking the mouse position on the touchscreen, it seems there is always an offset in the movement so I am bit skeptic if mouse inputs can be used reliably for touch inputs as well?

Re: Single touch input for touchscreens

Posted: Wed Apr 25, 2018 8:28 am
by Rain
OIS is fine for what it simply does. Multitouch and single touch are triavial tasks and as far as I see OIS does not solve them in the best way.
Personally I use OIS to handle mouse, keybord and joystick on desktop system while I ended up to write my own stuff for iOS and Android mutlitouch.
Consider that the amount of code to write to handle Multitouch and single touch on mobile devices is just a couple of classes.

That's simply my opinion of course...