i’m developing an Ogre application and i’m adding support to touch and gestures to it, because i want to use it on touch-enabled PCs.
Very well, after searching the web, i’ve found the Windows Gestures API http://msdn.microsoft.com/en-us/library/windows/desktop/dd371578%28v=vs.85%29.aspx . It suports not only touch recognition but gesture interpretation, which sounds just great!
I want to include it in my application, but my question is: this Windows sample creates its own window, its own main loops, how do i include it in my ogre app using my ogre window?
Instead of using Ogre::Root::startRendering you would call Ogre::Root::renderOneFrame in your main application loop.
If you want to use OIS for mouse/keyboard input take a look at this: Using OIS
But remember: Ogre is cross platform, but you program won’t be if you use a windows native API.