Im using guncon 45 with ems dual shooter 2 converter
Namco Guncon 2 has "rolling x" problem
Third party ps2 guns works
In any case you need a driver. I use topgun 2 x64 drivers, I remember installing it in win10 a little triky, you have to enable unsigned drivers.
zombraid.cfg
[{
    "port":":P1",
    "brightness_gain":0.4,
    "mask":16,
    "off_frames":1,
    "gamma_gain":0,
    "key":"GUNCODE_1_BUTTON1",
    "lag":4,
    "contrast_gain":0,
    "method":"first",
    "type":"P1_BUTTON1"
  },{
    "port":":P2",
    "brightness_gain":0.4,
    "mask":16,
    "off_frames":1,
    "gamma_gain":0,
    "key":"GUNCODE_3_BUTTON1",
    "lag":4,
    "contrast_gain":0,
    "method":"first",
    "type":"P1_BUTTON1"
  }]
ptblank.cfg
[{
    "type":"P1_BUTTON1",
    "method":"first",
    "contrast_gain":0,
    "port":":P1",
    "brightness_gain":0.4,
    "lag":0,
    "key":"GUNCODE_1_BUTTON1",
    "gamma_gain":0,
    "mask":16,
    "off_frames":2
  },{
    "type":"P1_BUTTON1",
    "method":"first",
    "contrast_gain":0,
    "port":":P2",
    "brightness_gain":0.4,
    "lag":0,
    "key":"GUNCODE_3_BUTTON1",
    "gamma_gain":0,
    "mask":16,
    "off_frames":2
  }]
In nuvee plugin ( used for psx and ps2 lightgun emulation) it shows these edges values: 1-65534. Not sure if it can help you in some way.