hedgewars/uInputHandler.pas
changeset 13495 4faebbf9c44f
parent 13464 08a3851aaf67
child 13504 c41b16ac2e05
--- a/hedgewars/uInputHandler.pas	Mon Jul 16 19:15:22 2018 +0200
+++ b/hedgewars/uInputHandler.pas	Mon Jul 16 20:28:01 2018 +0200
@@ -514,10 +514,10 @@
     begin
     for j:= 0 to pred(ControllerNumControllers) do
         begin
-        WriteLnToConsole('Using game controller: ' + shortstring(SDL_JoystickName(j)));
+        WriteLnToConsole('Game controller no. ' + IntToStr(j) + ', name "' + shortstring(SDL_JoystickNameForIndex(j)) + '":');
         Controller[j]:= SDL_JoystickOpen(j);
         if Controller[j] = nil then
-            WriteLnToConsole('* Failed to open game controller!')
+            WriteLnToConsole('* Failed to open game controller no. ' + IntToStr(j) + '!')
         else
             begin
             ControllerNumAxes[j]:= SDL_JoystickNumAxes(Controller[j]);