1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01: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

@ -193,9 +193,16 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product)
} }
} }
else if (vendor == 0x2dc8) /* 8BitDo */ else if (vendor == 0x2dc8) /* 8BitDo */
{
if (product == 0x2002) /* Ultimate Wired Controller for Xbox */
{
layout = LAYOUT_XBOX;
}
else
{ {
layout = LAYOUT_NINTENDO_SWITCH_PRO; layout = LAYOUT_NINTENDO_SWITCH_PRO;
} }
}
else else
{ {
/* For now we assume Xbox (0x045e), Generic will be used when /* For now we assume Xbox (0x045e), Generic will be used when