r/batocera • u/Wamppusbeast • 17h ago
Phone Gunner: use your phone as a light gun on Batocera (v42, open source)
Phone Gunner is a small add-on that turns an Android phone (Chrome) into a light gun for Batocera. No app: the box serves a page, the phone aims with its camera or gyro, and a virtual gun is created with uinput, so Batocera treats it like a real one.
• Start/stop over SSH, nothing at boot.
• It makes two small configgen patches (a four-colour gun border, and Wii buttons for phone guns) that go away at reboot. It skips a patch if your configgen differs, and there's an uninstall that puts the files back. Don't run batocera-save-overlay until you've rebooted or uninstalled.
• Tested on v42 x86_64. Other versions untested.