Browse Source

joystick: Assume GIP gamepads have the LED command if no metadata is present

Vicki Pfau 3 months ago
parent
commit
9e0edea16f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/hidapi/SDL_hidapi_gip.c

+ 1 - 1
src/joystick/hidapi/SDL_hidapi_gip.c

@@ -219,7 +219,7 @@
 #define GIP_HELLO_TIMEOUT 2000
 #define GIP_HELLO_TIMEOUT 2000
 
 
 #define GIP_DEFAULT_IN_SYSTEM_MESSAGES 0x5e
 #define GIP_DEFAULT_IN_SYSTEM_MESSAGES 0x5e
-#define GIP_DEFAULT_OUT_SYSTEM_MESSAGES 0x72
+#define GIP_DEFAULT_OUT_SYSTEM_MESSAGES 0x472
 
 
 #define GIP_FEATURE_CONSOLE_FUNCTION_MAP (1u << 0)
 #define GIP_FEATURE_CONSOLE_FUNCTION_MAP (1u << 0)
 #define GIP_FEATURE_CONSOLE_FUNCTION_MAP_OVERFLOW (1u << 1)
 #define GIP_FEATURE_CONSOLE_FUNCTION_MAP_OVERFLOW (1u << 1)