Skip to content

Commit caf269c

Browse files
committed
Added a link to the GIP documentation
1 parent 34c045a commit caf269c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/joystick/hidapi/SDL_hidapi_gip.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@
2828

2929
#ifdef SDL_JOYSTICK_HIDAPI_GIP
3030

31+
// This driver is based on the Microsoft GIP spec at:
32+
// https://aka.ms/gipdocs
33+
// https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-gipusb/e7c90904-5e21-426e-b9ad-d82adeee0dbc
34+
3135
// Define this if you want to log all packets from the controller
32-
//#define DEBUG_XBOX_PROTOCOL
36+
#if 0
37+
#define DEBUG_XBOX_PROTOCOL
38+
#endif
3339

3440
#define MAX_MESSAGE_LENGTH 0x4000
3541

0 commit comments

Comments
 (0)