Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed debug print statements
  • Loading branch information
slouken committed Dec 23, 2016
1 parent ad26769 commit 4fc0fe1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -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 */
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4fc0fe1

Please sign in to comment.