How play using FamiCom Zapper in Nestopia and Mesen?

Hello. Thanks for reading my topic.

I see details as if the NES zapper lightgun is supported in Nestopia and Mesen cores. However as enable for play ? I have done some configurations, but not work,