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:
parent
c3b0a60aa4
commit
c44e8d056a
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue