Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: payty on January 21, 2023, 09:30:03 am

Title: Arduino + Mame Hooker
Post by: payty on January 21, 2023, 09:30:03 am
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