SDL: Added a link to the GIP documentation

From caf269ce009b6faea82e525b5f81ae5f23422fe6 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 1 May 2025 20:26:19 -0700
Subject: [PATCH] Added a link to the GIP documentation

---
 src/joystick/hidapi/SDL_hidapi_gip.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/joystick/hidapi/SDL_hidapi_gip.c b/src/joystick/hidapi/SDL_hidapi_gip.c
index 148d6b46c1d73..e471267c38578 100644
--- a/src/joystick/hidapi/SDL_hidapi_gip.c
+++ b/src/joystick/hidapi/SDL_hidapi_gip.c
@@ -28,8 +28,14 @@
 
 #ifdef SDL_JOYSTICK_HIDAPI_GIP
 
+// This driver is based on the Microsoft GIP spec at:
+// https://aka.ms/gipdocs
+// https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-gipusb/e7c90904-5e21-426e-b9ad-d82adeee0dbc
+
 // Define this if you want to log all packets from the controller
-//#define DEBUG_XBOX_PROTOCOL
+#if 0
+#define DEBUG_XBOX_PROTOCOL
+#endif
 
 #define MAX_MESSAGE_LENGTH 0x4000