Turned off debug messages
authorSam Lantinga <slouken@libsdl.org>
Wed, 15 Aug 2018 19:53:28 -0700
changeset 12112547ea8a49167
parent 12111 6c1ae9f1effb
child 12113 9bede6f89b4c
Turned off debug messages
src/joystick/hidapi/SDL_hidapi_switch.c
src/joystick/hidapi/SDL_hidapijoystick.c
     1.1 --- a/src/joystick/hidapi/SDL_hidapi_switch.c	Wed Aug 15 19:53:26 2018 -0700
     1.2 +++ b/src/joystick/hidapi/SDL_hidapi_switch.c	Wed Aug 15 19:53:28 2018 -0700
     1.3 @@ -871,6 +871,7 @@
     1.4              HIDAPI_DriverSwitch_Rumble(joystick, dev, context, 0, 0, 0);
     1.5          }
     1.6      }
     1.7 +
     1.8  	return (size >= 0);
     1.9  }
    1.10  
     2.1 --- a/src/joystick/hidapi/SDL_hidapijoystick.c	Wed Aug 15 19:53:26 2018 -0700
     2.2 +++ b/src/joystick/hidapi/SDL_hidapijoystick.c	Wed Aug 15 19:53:28 2018 -0700
     2.3 @@ -605,7 +605,6 @@
     2.4          return;
     2.5      }
     2.6  
     2.7 -#define DEBUG_HIDAPI
     2.8  #ifdef DEBUG_HIDAPI
     2.9      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);
    2.10  #endif