dda47e88e1
- Pet portlint and clean up port a bit while here Changes: https://github.com/OpenMW/openmw/releases/tag/openmw-0.45.0
18 lines
806 B
C++
18 lines
806 B
C++
--- apps/openmw/mwinput/inputmanagerimp.cpp.orig 2019-03-10 10:50:29 UTC
|
|
+++ apps/openmw/mwinput/inputmanagerimp.cpp
|
|
@@ -121,11 +121,12 @@ namespace MWInput
|
|
SDL_ControllerDeviceEvent evt;
|
|
evt.which = i;
|
|
controllerAdded(mFakeDeviceID, evt);
|
|
- Log(Debug::Info) << "Detected game controller: " << SDL_GameControllerNameForIndex(i);
|
|
+ //Bug in FreeBSD's SDL? SDL_GameControllerNameForIndex returns NULL
|
|
+ Log(Debug::Info) << "Detected game controller: " << i;
|
|
}
|
|
else
|
|
{
|
|
- Log(Debug::Info) << "Detected unusable controller: " << SDL_JoystickNameForIndex(i);
|
|
+ Log(Debug::Info) << "Detected unusable controller: " << i;
|
|
}
|
|
}
|
|
|