Add sequential targets light gun support

Support for Sequential targets Light Guns has been added. "Gun Aux A" serves as light sensor logic input.
This commit is contained in:
Carlos O'Connor
2022-08-27 23:01:26 -05:00
parent c9ca9204b5
commit 1dda0a0705
5 changed files with 1559 additions and 194 deletions

View File

@@ -468,12 +468,13 @@ struct retro_core_option_v2_definition option_defs[] = {
NULL,
"input",
{
{ "lightgun", "Light gun" },
{ "clightgun", "Crosshair light gun" },
{ "stlightgun", "Sequential Targets light gun" },
{ "touchscreen", "Touchscreen" },
{ "mouse", "Mouse" },
{ NULL, NULL },
},
"lightgun",
"clightgun",
},
{
"fceumm_show_crosshair",
@@ -522,6 +523,34 @@ struct retro_core_option_v2_definition option_defs[] = {
},
"6",
},
{
"fceumm_zapper_trigger",
"Invert Zapper Trigger Signal",
NULL,
"Inverts trigger logic when using a Zapper. Disabling it resembles original hardware behavior.",
NULL,
"input",
{
{ "enabled", NULL },
{ "disabled", NULL },
{ NULL, NULL },
},
"enabled",
},
{
"fceumm_zapper_sensor",
"Invert Zapper Sensor Signal",
NULL,
"Inverts sensor logic when using a Zapper (Sequential Targets Light gun mode only). Disabling it resembles original NES/FC hardware behavior.",
NULL,
"input",
{
{ "enabled", NULL },
{ "disabled", NULL },
{ NULL, NULL },
},
"enabled",
},
{
"fceumm_up_down_allowed",
"Allow Opposing Directions",