Detecting Touch input vs Mouse input

Detecting Touch input vs Mouse input


I'm starting with Ultrabook development.

I would like to know if there is a simple way to know if the user input is being done with the traditional mouse or if he/she is touching the screen at a particular moment.

As the events are not exactly the same when touching the screen than when using the mouse, I think it is needed to tell the difference to be able to handle the legacy mouse properly, isn't it so?

Any info regarding this will be appreciated.

I'm using C/C++.

Thank you,



publicaciones de 10 / 0 nuevos
Último envío
Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.