Peripherals and Accessories Emulation: The Light Gun
26d 14h ago by piefed.social/u/falseprophet in emulation@sh.itjust.works from media.piefed.social
This will be the first of a series of short articles (hopefully) about emulating various accessories and peripherals of consoles and computers. I am starting with the light gun, which used to be a popular device for gaming systems but has become less popular on modern systems because the original technology does not work well with modern screens. But there is nostalgia for it and various attempts to recreate the experience with modern hardware and emulation. Let's have a look at these options, from the cheapest and simplest to more expensive and complex ones.
1. Mouse

Probably the easiest solution is to just use a mouse. Most emulators, if not all emulators, support using a mouse. With this solution, you drag a cursor that has the shape of a target using your computer mouse at the object you want to shoot and click the mouse button to shoot.
It is not very accurate to the original experience, because you are dragging a cursor instead of pointing at the screen and shooting, but at least you can play all light gun games this way if you want a simple solution and not invest money.
2. Touchscreen

The touchscreen solution is similar to that of the mouse, but instead of using a mouse to drag the target to the object you shoot, you just touch the screen with your finger, and you immediately position the target at the position of the finger and trigger a shot. This eliminates dragging the mouse to the target, but you use the finger to touch the screen instead of shooting from a distance. It would be fun if someone could build a touchscreen stylus in the shape of a gun or, even better, a gun-like device that shoots a stylus at the screen and then quickly retracts it.
3. Wii Remote

![]()
A more unique option is using a Wii remote. A controller in the shape of a remote control for the Wii gaming console that has a built-in infrared video camera and accelerometers. Pointing the remote at an infrared bar, it can be used similarly to a light gun. The Wii Remote can be easily connected to a computer via Bluetooth, and there is available software that acts as drivers for the device on the computers. There are two ways to simulate a light gun with a Wii remote, with and without a sensor bar.
If you only have a remote and not a sensor bar, then you have to use the built-in accelerometers by tilting the device left, right, up, or down to move the computer cursor in four directions and use it as a target. You're still dragging a cursor instead of shooting directly at an object, but at least you can do it from a distance, pointing at the screen, and it is not so different from how positional guns worked on some arcade machines.
If you are using a sensor bar, then instead of the accelerometers, you are using the infrared video camera pointing at the sensor bar, which can make the mouse movement smoother. You can also invest in a Dolphin Bar from Mayflash that comes with its own built-in Bluetooth dongle and drivers to use the Wii Remote as a light gun. Though in my experience the mouse cursor with the Dolphin Bar is a bit shaky, which is not ideal for targeting. So I recommend using Gunmote for Windows or dbar4gun on Linux. These are much better drivers that result in a much better experience, they work with most sensor bars and allow connecting up to 4 Wii remotes simultaneously instead of one with the Dolphin Bar.I also recommend using a gun-shaped plastic accessory for the Wii remote so that it feels like a gun and not a remote.
Additionally, I want to point out in the past, using the Wii Remote with a sensor bar on Linux, it was somewhat buggy, at least for me. With most emulators, it worked only in window mode, and with MAME, it did not work at all, but it worked with the MAME core in BizHawk. But now I tested it again, and it worked also in full-screen mode, but MAME still does not work, and it is worse now since it does not seem to work with my mouse either now, maybe because it does not like that my mouse is wireless. Not sure what has changed, maybe because I am using KDE now or maybe because I use Wayland instead of X11.
The following options are various commercial light gun products that I have not used personally.
4. GUN4IR
The Gun4IR works similarly to the Wii Remote, it uses an infrared camera and a sensor bar to track the movement and move a computer cursor. The movement is very stable and accurate, and the gun comes with vibration motors. But instead of being a complete light gun solution they sell mod kits that allow you to modify any light gun to use infrared technology.
5. AimTrak Light Gun

AimTrak Light Gun is a commercial solution that uses the same technology from the Wii remote infrared camera and sensor bar.
When it first came out, it was impressive and probably the best solution for a light gun experience, but since then Wii remote drivers have improved a lot, and there are also better options.
It comes in two variations with recoil at $120 and without recoil at $95.
6. Retro Shooter Reaper

While these guns original worked as all the other infrared camera based gun, the newer guns worked somewhat differently. Instead of one sensor bar that can mounted on the top or the bottom of the screen, it uses 4 small sensors mounted on the four corners of the screen, resulting in a very high accuracy according to several reviews I found.
If I understand the website correct you can only buy the guns in pairs and not a single gun. The cheapest option $229.97 for 2 guns without sensors and $275.97 that includes sensors a retro gaming console, with sensors and pedals.
7. Sinden Lightgun

One of the most popular modern light gun solutions is the Sinden Lightgun. This Light gun does not use an infrared camera, instead it uses a high speed camera that tracks a white border that is placed around the game. The accuracy is very high, but there are some reports the software can be a little tricky to configure and calibrated correctly. It costs €92,99 EUR and €139,99 with recoil.
Conclusion
There are some additional options for light guns, but they all rely on technology already mention above usually using some sort of infrared sensor bar and an infrared camera. Which on to buy depends on how much you want to spend and how much you enjoy light gun games. I like light gun games, but I play them casually and for me a Wii remote and a sensor bar a good enough, and as a bonus a can use them with other games with the dolphin emulator.