Single touch input for touchscreens

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
syedharoonalam
Gnoblar
Posts: 1
Joined: Wed Apr 18, 2018 9:31 am

Single touch input for touchscreens

Post 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?
Rain
Gnoblar
Posts: 10
Joined: Thu Dec 07, 2017 6:56 am
x 2

Re: Single touch input for touchscreens

Post by Rain »

Hi,
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...
Post Reply