Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Simple OIS usage  (Read 621 times)

qba

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Simple OIS usage
« on: September 17, 2009, 02:45:55 AM »

I have simple question about OIS usage. Can I have in my program multiple OIS::InputManagers and/or OIS::Keyboards? Or I should make only one manager and keyboard in my program and use them everywhere.

Btw is there any good documentation of OIS? I found only doxygen docs made from source, without any comments.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: Simple OIS usage
« Reply #1 on: September 17, 2009, 07:46:58 AM »

You create one OIS instance per top level window. And each one can have only one keyboard/mouse.

The best docs is the console demo, and forum. Shows everything needed.
Logged

qba

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Re: Simple OIS usage
« Reply #2 on: September 17, 2009, 07:48:48 AM »

Thanks.
Logged