Browse Source

disabled linux joystick debugging outputs and reverted unnecessary comment edit

atfrase 3 years ago
parent
commit
db9e14e504
2 changed files with 3 additions and 3 deletions
  1. 1 1
      include/SDL_hints.h
  2. 2 2
      src/joystick/linux/SDL_sysjoystick.c

+ 1 - 1
include/SDL_hints.h

@@ -894,7 +894,7 @@ extern "C" {
   *  \brief  A variable controlling whether to use the classic /dev/input/js* joystick interface or the newer /dev/input/event* joystick interface on Linux
   *
   *  This variable can be set to the following values:
-  *    "0"       - Use /dev/input/event* (the default)
+  *    "0"       - Use /dev/input/event*
   *    "1"       - Use /dev/input/js*
   *
   *  By default the /dev/input/event* interfaces are used

+ 2 - 2
src/joystick/linux/SDL_sysjoystick.c

@@ -78,11 +78,11 @@
 #include "../../core/linux/SDL_evdev_capabilities.h"
 #include "../../core/linux/SDL_udev.h"
 
-#if 1
+#if 0
 #define DEBUG_INPUT_EVENTS 1
 #endif
 
-#if 1
+#if 0
 #define DEBUG_GAMEPAD_MAPPING 1
 #endif