libretro / nestopia

Nestopia emulator with libretro interface
GNU General Public License v2.0
52 stars 46 forks source link

Lightgun mode has no useable controls. #45

Open Bitwolfies opened 2 years ago

Bitwolfies commented 2 years ago

Setting nestopa to use the lightgun input setting fails to accept any trigger input due to it not actually looking for any lightgun buttons.

RetroArch Screenshot 2021 12 13 - 17 53 22 49 RetroArch Screenshot 2021 12 13 - 17 53 57 85

keithbowes commented 2 years ago

Well, most peripherals (including the Zapper) are on port 2 (some are on ports 3 and 4), but I don't know what you'd need to set to get a lightgun to work (I personally just use my laptop's trackpad, which granted is significantly easier than using a real Zapper).

My recommendations:

  1. Check to see if there's a crosshair. If there's no crosshair, the database doesn't recognize the game as having a Zapper peripheral and you must change that manually (in Port 2 Controls, change the value of Device Type from Auto to Zapper).
  2. Does it work with other NES cores? (As far as I know, FCEUmm is the only other NES core that uses the lightgun API for its Zapper; Mesen uses only the pointer API.) If not, it might be RetroArch not correctly relaying the lightgun position and button(s) pressed to the core.