Browse Source

Turned off debug messages

Sam Lantinga 6 years ago
parent
commit
641c674f2a

+ 1 - 0
src/joystick/hidapi/SDL_hidapi_switch.c

@@ -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);
 }
 

+ 0 - 1
src/joystick/hidapi/SDL_hidapijoystick.c

@@ -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