1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 23:48:30 +02:00

Fix glyphs for 8BitDo Ultimate Wired Controller for Xbox

This commit is contained in:
Ethan Lee 2023-08-24 09:58:22 -04:00
parent c3b0a60aa4
commit c44e8d056a

View File

@ -194,7 +194,14 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product)
} }
else if (vendor == 0x2dc8) /* 8BitDo */ 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 else
{ {