Turned off debug messages

This commit is contained in:
Sam Lantinga 2018-08-15 19:53:28 -07:00
parent 51902010c6
commit 641c674f2a
2 changed files with 1 additions and 1 deletions

View file

@ -871,6 +871,7 @@ HIDAPI_DriverSwitch_Update(SDL_Joystick *joystick, hid_device *dev, void *contex
HIDAPI_DriverSwitch_Rumble(joystick, dev, context, 0, 0, 0); HIDAPI_DriverSwitch_Rumble(joystick, dev, context, 0, 0, 0);
} }
} }
return (size >= 0); return (size >= 0);
} }

View file

@ -605,7 +605,6 @@ HIDAPI_AddDevice(struct hid_device_info *info)
return; return;
} }
#define DEBUG_HIDAPI
#ifdef 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); 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 #endif