Description

Lets you set what input device is to be used as a lightgun control. This will override the commands -mouse, -joystick etc...

Example

mame <gamename> -lightgun_device mouse

Command Format

<gamename> -lightgun_device <device>. The device can be keyboard, mouse, joystick, lightgun or none.. The example will set the default device if a game uses a lightgun to your mouse.

MAME's Default Setting

keyboard