Add light gun option for Genesis gamepads

seems to work; why do we have our own enum instead of using one of GPGX'?
This commit is contained in:
YoshiRulz 2021-04-17 12:00:36 +10:00
parent 9ff4b904c6
commit 92241b15cf
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 4 additions and 1 deletions

View File

@ -145,6 +145,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
return LibGPGX.INPUT_SYSTEM.SYSTEM_WAYPLAY;
case ControlType.Mouse:
return LibGPGX.INPUT_SYSTEM.SYSTEM_MOUSE;
case ControlType.LightPhaser:
return LibGPGX.INPUT_SYSTEM.SYSTEM_LIGHTPHASER;
}
}
@ -173,7 +175,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
Activator,
Teamplayer,
Wayplay,
Mouse
Mouse,
LightPhaser,
}