Saturday, 1 June 2013

How to read (and discard) Windows events in Ogre?

How to read (and discard) Windows events in Ogre?

In my Ogre application I use a custom mouse handler implementation instead of OIS (to support more than one mouse). That is working fine, however, without OIS when reading mouse events directly they are also passed to the OS. Thus the OS mouse cursor moves as well when I move the mouse in my application.
I guess I would need to read and discard those messages in the system event queue.
Any ideas how I could approach this in Ogre?

No comments:

Post a Comment