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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.33.157