Skip to content

Commit

Permalink
Fix glyphs for 8BitDo Ultimate Wired Controller for Xbox
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Aug 24, 2023
1 parent c3b0a60 commit c44e8d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion desktop_version/src/ButtonGlyphs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,14 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product)
}
else if (vendor == 0x2dc8) /* 8BitDo */
{
layout = LAYOUT_NINTENDO_SWITCH_PRO;
if (product == 0x2002) /* Ultimate Wired Controller for Xbox */
{
layout = LAYOUT_XBOX;
}
else
{
layout = LAYOUT_NINTENDO_SWITCH_PRO;
}
}
else
{
Expand Down

0 comments on commit c44e8d0

Please sign in to comment.