OIS         A fine, neat and easy to use Object Oriented Input System

A cross-platform library that supports many different human interface devices, in three basic device categories:

  • keyboards
  • mice
  • joysticks

It is an open source library, so you can make changes and alterations as you see them to fit. The creator and maintainer is pjcast.

OIS is used in OGRE since version 1.4 (Eihort).

Note: The download seems to be rather old, it's probably a good idea to grab it directly from cvs:

cvs -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois login

cvs -z3 -d:pserver:anonymous@wgois.cvs.sourceforge.net:/cvsroot/wgois co -P ois

If you are wondering about the string parameters that go into the paramlist when calling inputManager->createInputSystem(paramlist), here's how to find out about them:

- Download the OIS Source (eg from https://sourceforge.net/projects/wgois/(external link))
- Recommended: Have a look at createInputSystem in OISInputManager.cpp, you will see that a derived InputManager object is created depending on your system.
- Look at the derived Input manager class in the specific folder; eg. for windows, look at win32/Win32InputManager.cpp
- Look at the methods _initialize and _parseConfigSettings, and all will be made clear :-)

See Also




Contributors to this page: Beauty14565 points  , Spacegaier6073 points  , kulik44 points  , jacmoe180265 points  , Aralox236 points  and alberts51 points  .
Page last modified on Tuesday 24 of April, 2012 15:29:26 UTC by Beauty14565 points .

The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.