Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 336 vs 337 for /trunk/Source Code/Platform/Input/InputInterface.cpp

Diff revisions: vs.
  @@ -13,7 +13,7 @@
13 13
14 14 OIS::ParamList pl;
15 15 # if defined OIS_WIN32_PLATFORM
16 - U32 hwnd = (U32)FindWindow(nullptr, ParamHandler::getInstance().getParam<stringImpl>("appTitle", "Divide").c_str());
16 + U32 hwnd = (U32)FindWindow(nullptr, ParamHandler::getInstance().getParam<stringImpl>("appTitle", "Divide").c_str());
17 17 // Create OIS input manager
18 18 pl.insert(std::make_pair("WINDOW", stringAlg::fromBase(Util::toString(hwnd))));
19 19 pl.insert(std::make_pair("w32_mouse", "DISCL_FOREGROUND"));
  @@ -45,7 +45,7 @@
45 45 }
46 46
47 47 // Limit max joysticks to MAX_ALLOWED_JOYSTICKS
48 - I32 numJoysticks = std::min(_pInputInterface->getNumberOfDevices(OIS::OISJoyStick), static_cast<I32>(Joystick_PLACEHOLDER));
48 + I32 numJoysticks = std::min(_pInputInterface->getNumberOfDevices(OIS::OISJoyStick), static_cast<I32>(Joystick_PLACEHOLDER));
49 49
50 50 if (numJoysticks > 0) {
51 51 _pJoysticks.resize(numJoysticks);
  @@ -60,7 +60,7 @@
60 60
61 61 // Create the joystick manager.
62 62 _pJoystickInterface = MemoryManager_NEW JoystickInterface(_pInputInterface, _pEventHdlr);
63 - if (!_pJoystickInterface->wasFFDetected()) {
63 + if (!_pJoystickInterface->wasFFDetected()) {
64 64 PRINT_FN(Locale::get("WARN_INPUT_NO_FORCE_FEEDBACK"));
65 65 MemoryManager::DELETE( _pJoystickInterface );
66 66 } else{