From a9c86e518aa1b90fd5e8f1a6f3b1d23ce76d845b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 16 Jun 2023 17:48:18 -0700
Subject: [PATCH] Added the Razer Edge controller to the list of wraparound
controllers
---
src/joystick/SDL_joystick.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 7e44e4e20b62..498d31c0395f 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -567,6 +567,7 @@ static SDL_bool ShouldAttemptSensorFusion(SDL_Joystick *joystick)
static Uint32 wraparound_gamepads[] = {
MAKE_VIDPID(0x1532, 0x0709), /* Razer Junglecat (L) */
MAKE_VIDPID(0x1532, 0x070a), /* Razer Junglecat (R) */
+ MAKE_VIDPID(0x1532, 0x0717), /* Razer Edge controller */
MAKE_VIDPID(0x1949, 0x0402), /* Ipega PG-9083S */
MAKE_VIDPID(0x27f8, 0x0bbc), /* Gamevice */
MAKE_VIDPID(0x27f8, 0x0bbf), /* Razer Kishi */