Main > Main Forum

Arduino + Mame Hooker

Pages: (1/1)

payty:

HI,
I have adapted a Revolution X gun to be connected to USB using an Arduino Leonardo. So far it is working ok, I am simulating mouse movement with the gun,   but I want to connect the gun coil and led to MAME using Mame Hooker. directly through the same USB port.

So I am trying to send data to Generic HID  using this command line

ghd 4 &H2341 &H8036 2 &h01:&h02

The arduino does not seem to receive anything. Any ideas what I am doing wrong?

I have attached a picture of the vendor id and product id in device manager. This corresponds to  Arduino  which runs on COM4







Pages: (1/1)

Go to full version