comparison controller_info.c @ 2547:8675663d4984

Add controller heuristic for M30 so the BT version works out of the box
author Michael Pavone <pavone@retrodev.com>
date Thu, 02 Jan 2025 23:32:38 -0800
parents 9c6f53425140
children 8dc8eb079584
comparison
equal deleted inserted replaced
2546:6aa3025bbf5f 2547:8675663d4984
27 {"Xbox One", {.type = TYPE_XBOX, .subtype = SUBTYPE_XBONE}}, 27 {"Xbox One", {.type = TYPE_XBOX, .subtype = SUBTYPE_XBONE}},
28 {"X-box One", {.type = TYPE_XBOX, .subtype = SUBTYPE_XBONE}}, 28 {"X-box One", {.type = TYPE_XBOX, .subtype = SUBTYPE_XBONE}},
29 {"WiiU", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}}, 29 {"WiiU", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}},
30 {"Wii U", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}}, 30 {"Wii U", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}},
31 {"Nintendo Switch", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_SWITCH}}, 31 {"Nintendo Switch", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_SWITCH}},
32 {"Saturn", {.type = TYPE_SEGA, .subtype = SUBTYPE_SATURN}} 32 {"Saturn", {.type = TYPE_SEGA, .subtype = SUBTYPE_SATURN}},
33 {"8BitDo M30", {.type = TYPE_SEGA, .subtype = SUBTYPE_GENESIS, .variant = VARIANT_8BUTTON}}
33 }; 34 };
34 const uint32_t num_heuristics = sizeof(heuristics)/sizeof(*heuristics); 35 const uint32_t num_heuristics = sizeof(heuristics)/sizeof(*heuristics);
35 36
36 static tern_node *info_config; 37 static tern_node *info_config;
37 static uint8_t loaded; 38 static uint8_t loaded;