Skip to content

Commit

Permalink
Turned off debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 16, 2018
1 parent 5190201 commit 641c674
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/joystick/hidapi/SDL_hidapi_switch.c
Expand Up @@ -871,6 +871,7 @@ HIDAPI_DriverSwitch_Update(SDL_Joystick *joystick, hid_device *dev, void *contex
HIDAPI_DriverSwitch_Rumble(joystick, dev, context, 0, 0, 0);
}
}

return (size >= 0);
}

Expand Down
1 change: 0 additions & 1 deletion src/joystick/hidapi/SDL_hidapijoystick.c
Expand Up @@ -605,7 +605,6 @@ HIDAPI_AddDevice(struct hid_device_info *info)
return;
}

#define DEBUG_HIDAPI
#ifdef DEBUG_HIDAPI
SDL_Log("Adding HIDAPI device '%s' interface %d, usage page 0x%.4x, usage 0x%.4x\n", device->name, device->interface_number, device->usage_page, device->usage);
#endif
Expand Down

0 comments on commit 641c674

Please sign in to comment.