Adding input support

We now have a moving scene, but we would like to be able to exit our application like before. Therefore, we are now going to add input support, and when Escape is pressed, we exit our application. Up until now, we only used Ogre 3D; now we will also use OIS(Object Oriented Input System), which comes with the Ogre 3D SDK because it is used by the ExampleFrameListener, but otherwise is totally independent from Ogre 3D.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.