From c881f621a3f719b3b125f86f9af8c6c894eac92f Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 6 Sep 2023 09:56:49 -0400 Subject: [PATCH] Handle WiiU/Switch GameCube adapter product ID --- desktop_version/src/ButtonGlyphs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/desktop_version/src/ButtonGlyphs.cpp b/desktop_version/src/ButtonGlyphs.cpp index 29e4e3e6..95d5b7dd 100644 --- a/desktop_version/src/ButtonGlyphs.cpp +++ b/desktop_version/src/ButtonGlyphs.cpp @@ -194,6 +194,11 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product) { layout = LAYOUT_NINTENDO_SWITCH_JOYCON_R; } + else if (product == 0x0337) + { + /* FIXME: GameCube glyphs? -flibit */ + layout = LAYOUT_XBOX; + } else { layout = LAYOUT_NINTENDO_SWITCH_PRO;