From db9e14e504af38b52a7cc8d0e03bc8c746816c12 Mon Sep 17 00:00:00 2001
From: atfrase <[EMAIL REDACTED]>
Date: Mon, 31 Jan 2022 13:55:37 -0600
Subject: [PATCH] disabled linux joystick debugging outputs and reverted
unnecessary comment edit
---
include/SDL_hints.h | 2 +-
src/joystick/linux/SDL_sysjoystick.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/SDL_hints.h b/include/SDL_hints.h
index 9dc85e05cdc..cc5d46663ac 100644
--- a/include/SDL_hints.h
+++ b/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
diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c
index 69dd1c5b4d9..92483b33c39 100644
--- a/src/joystick/linux/SDL_sysjoystick.c
+++ b/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