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,



10 Beiträge / 0 neu
Letzter Beitrag
Einzelheiten zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.