Android: Deactivated debug log messages on joystick device events.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 30 Apr 2015 21:45:29 +0200
changeset 95799a5b4bf6f4d1
parent 9578 e78393ffcd50
child 9580 d37ef6990bf9
Android: Deactivated debug log messages on joystick device events.
src/joystick/android/SDL_sysjoystick.c
     1.1 --- a/src/joystick/android/SDL_sysjoystick.c	Sun Apr 26 13:53:46 2015 +0300
     1.2 +++ b/src/joystick/android/SDL_sysjoystick.c	Thu Apr 30 21:45:29 2015 +0200
     1.3 @@ -311,7 +311,9 @@
     1.4      }
     1.5  #endif /* !SDL_EVENTS_DISABLED */
     1.6  
     1.7 +#ifdef DEBUG_JOYSTICK
     1.8      SDL_Log("Added joystick %s with device_id %d", name, device_id);
     1.9 +#endif
    1.10  
    1.11      return numjoysticks;
    1.12  }
    1.13 @@ -368,7 +370,9 @@
    1.14      }
    1.15  #endif /* !SDL_EVENTS_DISABLED */
    1.16  
    1.17 +#ifdef DEBUG_JOYSTICK
    1.18      SDL_Log("Removed joystick with device_id %d", device_id);
    1.19 +#endif
    1.20      
    1.21      SDL_free(item->name);
    1.22      SDL_free(item);