add missing menacer keys (#2718)

See eafa39456f and 307d85cee0.
This will add extra keys that do nothing on certain non-menacer light guns, but that never seemed to bother anyone in 1.x.
This commit is contained in:
nattthebear 2021-04-18 11:09:33 -04:00 committed by GitHub
parent 5de101107c
commit 2ba5fe338a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
{
new CName("Lightgun Trigger", LibGPGX.INPUT_KEYS.INPUT_MENACER_TRIGGER),
new CName("Lightgun Start", LibGPGX.INPUT_KEYS.INPUT_MENACER_START),
new CName("Lightgun B", LibGPGX.INPUT_KEYS.INPUT_MENACER_B),
new CName("Lightgun C", LibGPGX.INPUT_KEYS.INPUT_MENACER_C),
};
private static readonly CName[] Activator =

View File

@ -224,6 +224,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
/* Menacer */
INPUT_MENACER_TRIGGER = 0x0040,
INPUT_MENACER_START = 0x0080,
INPUT_MENACER_B = 0x0020,
INPUT_MENACER_C = 0x0010,
}
[StructLayout(LayoutKind.Sequential)]