From 92241b15cf4b26a50267285f7d7f3e4b81a21269 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 17 Apr 2021 12:00:36 +1000 Subject: [PATCH] Add light gun option for Genesis gamepads seems to work; why do we have our own enum instead of using one of GPGX'? --- src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs index 798fc8aeab..7feef797b3 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs @@ -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, }