Welcome! This is a guide for how to emulate an NES Zapper in FCEUX.
Step 1: Open FCEUX, go to "Config", and "Input..."
Step 2: Change the dropdown in Controller 2 to "Zapper".
You can now click in compatible NES games to use the zapper.
The end! Hope this helped!