1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Add 8BitDo wireless Xbox product ID to detector

This commit is contained in:
Ethan Lee 2023-08-28 11:25:17 -04:00
parent 4e7bf86722
commit 68b6bd07ba

View file

@ -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;
}