diff --git a/src/Input.cpp b/src/Input.cpp index ecd4228d..451776fa 100644 --- a/src/Input.cpp +++ b/src/Input.cpp @@ -44,6 +44,11 @@ BOOL HookDirectInputDevice(void) { int i; +#ifndef NDEBUG + for (i = 0; i < SDL_NumJoysticks(); ++i) + printf("Joystick #%d name: %s\n", i, SDL_JoystickNameForIndex(i)); +#endif + // Open first available joystick for (i = 0; i < SDL_NumJoysticks(); ++i) {