From 68b6bd07ba59c1175f8eaaf1ce9b3f5f908c2e91 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 28 Aug 2023 11:25:17 -0400 Subject: [PATCH] Add 8BitDo wireless Xbox product ID to detector --- desktop_version/src/ButtonGlyphs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop_version/src/ButtonGlyphs.cpp b/desktop_version/src/ButtonGlyphs.cpp index 960c5aa4..29e4e3e6 100644 --- a/desktop_version/src/ButtonGlyphs.cpp +++ b/desktop_version/src/ButtonGlyphs.cpp @@ -201,7 +201,8 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product) } else if (vendor == 0x2dc8) /* 8BitDo */ { - if (product == 0x2002) /* Ultimate Wired Controller for Xbox */ + if ( product == 0x2002 || /* Ultimate Wired Controller for Xbox */ + product == 0x3106 ) /* Ultimate Wireless / Pro 2 Wired Controller */ { layout = LAYOUT_XBOX; }