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

Handle WiiU/Switch GameCube adapter product ID

This commit is contained in:
Ethan Lee 2023-09-06 09:56:49 -04:00
parent 135934289e
commit c881f621a3

View file

@ -194,6 +194,11 @@ void BUTTONGLYPHS_update_layout(Uint16 vendor, Uint16 product)
{ {
layout = LAYOUT_NINTENDO_SWITCH_JOYCON_R; layout = LAYOUT_NINTENDO_SWITCH_JOYCON_R;
} }
else if (product == 0x0337)
{
/* FIXME: GameCube glyphs? -flibit */
layout = LAYOUT_XBOX;
}
else else
{ {
layout = LAYOUT_NINTENDO_SWITCH_PRO; layout = LAYOUT_NINTENDO_SWITCH_PRO;