From 4fc0fe1f6908b1a4d51990c3adf61968d94a738d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 23 Dec 2016 02:23:44 -0800 Subject: [PATCH] Removed debug print statements --- src/joystick/darwin/SDL_sysjoystick.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/darwin/SDL_sysjoystick.c b/src/joystick/darwin/SDL_sysjoystick.c index 5b5e2bfa3..ca8028e3a 100644 --- a/src/joystick/darwin/SDL_sysjoystick.c +++ b/src/joystick/darwin/SDL_sysjoystick.c @@ -134,7 +134,6 @@ GetHIDScaledCalibratedState(recDevice * pDevice, recElement * pElement, SInt32 m const float deviceScale = max - min; const float readScale = pElement->maxReport - pElement->minReport; const SInt32 value = GetHIDElementState(pDevice, pElement); -printf("MIN/MAX = %d/%d, value = %d\n", pElement->minReport, pElement->maxReport, value); if (readScale == 0) { return value; /* no scaling at all */ } @@ -692,7 +691,6 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick) element = device->firstAxis; i = 0; while (element) { -printf("Getting axis %d ", i); value = GetHIDScaledCalibratedState(device, element, -32768, 32767); if (value != joystick->axes[i].value) { SDL_PrivateJoystickAxis(joystick, i, value);