Android: Deactivated debug log messages on joystick device events.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 30 Apr 2015 21:45:29 +0200
changeset 9579 9a5b4bf6f4d1
parent 9578 e78393ffcd50
child 9580 d37ef6990bf9
Android: Deactivated debug log messages on joystick device events.
src/joystick/android/SDL_sysjoystick.c
--- a/src/joystick/android/SDL_sysjoystick.c	Sun Apr 26 13:53:46 2015 +0300
+++ b/src/joystick/android/SDL_sysjoystick.c	Thu Apr 30 21:45:29 2015 +0200
@@ -311,7 +311,9 @@
     }
 #endif /* !SDL_EVENTS_DISABLED */
 
+#ifdef DEBUG_JOYSTICK
     SDL_Log("Added joystick %s with device_id %d", name, device_id);
+#endif
 
     return numjoysticks;
 }
@@ -368,7 +370,9 @@
     }
 #endif /* !SDL_EVENTS_DISABLED */
 
+#ifdef DEBUG_JOYSTICK
     SDL_Log("Removed joystick with device_id %d", device_id);
+#endif
     
     SDL_free(item->name);
     SDL_free(item);