Skip to content

Commit

Permalink
Android: Deactivated debug log messages on joystick device events.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 30, 2015
1 parent d9d1a1b commit 9979bab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/joystick/android/SDL_sysjoystick.c
Expand Up @@ -311,7 +311,9 @@ Android_AddJoystick(int device_id, const char *name, SDL_bool is_accelerometer,
}
#endif /* !SDL_EVENTS_DISABLED */

#ifdef DEBUG_JOYSTICK
SDL_Log("Added joystick %s with device_id %d", name, device_id);
#endif

return numjoysticks;
}
Expand Down Expand Up @@ -368,7 +370,9 @@ Android_RemoveJoystick(int device_id)
}
#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);
Expand Down

0 comments on commit 9979bab

Please sign in to comment.