Loadman, have you given any thought to adding a P1_LIGHTGUN to the control list? I'm using a Wiimote as a lightgun and have added a couple of IR LED's to my monitor bezel. Currently, I have them wired to the +5 from my PC's power supply, but it would be cool if I could control them via my LedWiz so that they are only on for lightgun games. I thought I might be able to use P1_AD_STICK since that is defined in controls.ini for the light gun games, but it is not on the P1Controls line and is not sent with the game selected event. Just a thought.....
*************************************************************
EVENT: Game selected
Name: Area 51 / Maximum Force Duo (R3000)
Manufacturer: Atari Games
Genre: Shooter / Gun
Year: 1998
Clone of: area51mx
-------------------- INPUTS ---------------------------------
Coins: 4
Buttons: 1
Players: 2P sim
Control: lightgun
-------------------- VIDEO ----------------------------------
Screen: raster
Orientation: horizontal
Video size: 360x240
-------------------- DRIVER ---------------------------------
Status: good
-------------------- CONTROLS.INI ---------------------------
Control: Lightgun
JoyUp:
JoyDown:
JoyLeft:
JoyRight:
Button1: Fire
Button2: not used
Button3: not used
Button4: not used
Button5: not used
Button6: not used
Button7: not used
Button8: not used
-------------------- ROMFILE --------------------------------
Rom name: a51mxr3k
Rom path: C:\Mame\roms
Rom extension: zip
-------------------- STATS ----------------------------------
Game played: 1
********************************************************