Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2009, 11:08:50 PM (15 years ago)
Author:
rgrieder
Message:

Heavy clean up in the InputManager; not many real code changes though.
And temporary hack-fixed a problem in the Keybinder with std::vector.reserve(1000) ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/InputDevice.h

    r3274 r3279  
    113113            : InputDevice(id)
    114114        {
    115             OIS::InputManager* system = InputManager::getInstance().getInputSystem();
     115            OIS::InputManager* system = InputManager::getInstance().getOISInputManager();
    116116            oisDevice_ = static_cast<OISDeviceClass*>(system->createInputObject(OISDeviceValue, true));
    117117            oisDevice_->setEventCallback(static_cast<DeviceClass*>(this));
     
    123123            try
    124124            {
    125                 InputManager::getInstance().getInputSystem()->destroyInputObject(oisDevice_);
     125                InputManager::getInstance().getOISInputManager()->destroyInputObject(oisDevice_);
    126126            }
    127127            catch (...)
Note: See TracChangeset for help on using the changeset viewer.