|
|
@ -474,8 +474,8 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// find correct path to the game controller bindings
|
|
|
|
// find correct path to the game controller bindings
|
|
|
|
const std::string localdefault = mCfgMgr.getLocalPath().string() + "/gamecontrollerdb.cfg";
|
|
|
|
const std::string localdefault = mCfgMgr.getLocalPath().string() + "/gamecontrollerdb.txt";
|
|
|
|
const std::string globaldefault = mCfgMgr.getGlobalPath().string() + "/gamecontrollerdb.cfg";
|
|
|
|
const std::string globaldefault = mCfgMgr.getGlobalPath().string() + "/gamecontrollerdb.txt";
|
|
|
|
std::string gameControllerdb;
|
|
|
|
std::string gameControllerdb;
|
|
|
|
if (boost::filesystem::exists(localdefault))
|
|
|
|
if (boost::filesystem::exists(localdefault))
|
|
|
|
gameControllerdb = localdefault;
|
|
|
|
gameControllerdb = localdefault;
|
|
|
|