naomi: add dybb99, dybbnao, ringout and sstrkfgt inputs

Issue #154
This commit is contained in:
Flyinghead 2021-01-05 10:30:01 +01:00
parent 8d5708e255
commit 65563942cd
2 changed files with 47 additions and 6 deletions

View File

@ -1647,7 +1647,9 @@ Games[] =
{ "mpr-22139.ic18s", 0x9000000, 0x0800000 },
{ "mpr-22140.ic19s", 0x9800000, 0x0800000 },
{ NULL, 0, 0 },
}
},
nullptr,
&wsbb_inputs,
},
// Dynamite Baseball NAOMI (Japan)
{
@ -1685,7 +1687,9 @@ Games[] =
{ "mpr-21573.ic20s", 0xa000000, 0x0800000 },
{ "mpr-21574.ic21s", 0xa800000, 0x0800000 },
{ NULL, 0, 0 },
}
},
nullptr,
&wsbb_inputs,
},
// Ferrari F355 Challenge (deluxe)
{
@ -2792,7 +2796,7 @@ Games[] =
{ NULL, 0, 0 },
},
NULL,
NULL,
&ringout_inputs,
ringout_eeprom_dump
},
// Ring Out 4x4
@ -2821,7 +2825,7 @@ Games[] =
{ NULL, 0, 0 },
},
NULL,
NULL,
&ringout_inputs,
ringout_eeprom_dump
},
// Samba De Amigo (Rev B)
@ -3393,7 +3397,9 @@ Games[] =
{ "mpr-23320.ic19s", 0x9800000, 0x800000 },
{ "mpr-23321.ic20s", 0xa000000, 0x800000 },
{ NULL, 0, 0 },
}
},
nullptr,
&sstrkfgt_inputs,
},
// Sega Strike Fighter (Rev A, no training mode)
{
@ -3429,7 +3435,9 @@ Games[] =
{ "mpr-23320.ic19s", 0x9800000, 0x800000 },
{ "mpr-23321.ic20s", 0xa000000, 0x800000 },
{ NULL, 0, 0 },
}
},
nullptr,
&sstrkfgt_inputs,
},
// Idol Janshi Suchie-Pai 3 (JPN)
{

View File

@ -450,6 +450,39 @@ static InputDescriptors wsbb_inputs = {
},
};
static InputDescriptors ringout_inputs = {
{
{ NAOMI_BTN0_KEY, "BUMPER" },
{ NAOMI_BTN1_KEY, "BACK" },
NAO_START_DESC
NAO_BASE_BTN_DESC
{ 0 },
},
{
{ "STEER", Full, 0 },
{ "ACCEL", Half, 4 },
{ NULL },
},
};
static InputDescriptors sstrkfgt_inputs = {
{
{ NAOMI_BTN0_KEY, "GUN TRIGGER" },
{ NAOMI_BTN1_KEY, "MISSILE BTN" },
{ NAOMI_BTN2_KEY, "AIR BRAKE" },
{ NAOMI_BTN3_KEY, "VIEW CHANGE" },
NAO_START_DESC
NAO_BASE_BTN_DESC
{ 0 },
},
{
{ "ELEVATOR", Full, 1 },
{ "AILERON", Full, 0 },
{ "THRUST LEVER", Half, 4 },
{ "RUDDER PEDAL", Full, 2 },
{ NULL },
},
};
//
// AtomisWave games
//