changeset 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 6aa3025bbf5f
children 3fc8a1f2eb84
files controller_info.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/controller_info.c	Thu Jan 02 23:03:50 2025 -0800
+++ b/controller_info.c	Thu Jan 02 23:32:38 2025 -0800
@@ -29,7 +29,8 @@
 	{"WiiU", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}},
 	{"Wii U", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_WIIU}},
 	{"Nintendo Switch", {.type = TYPE_NINTENDO, .subtype = SUBTYPE_SWITCH}},
-	{"Saturn", {.type = TYPE_SEGA, .subtype = SUBTYPE_SATURN}}
+	{"Saturn", {.type = TYPE_SEGA, .subtype = SUBTYPE_SATURN}},
+	{"8BitDo M30", {.type = TYPE_SEGA, .subtype = SUBTYPE_GENESIS, .variant = VARIANT_8BUTTON}}
 };
 const uint32_t num_heuristics = sizeof(heuristics)/sizeof(*heuristics);