Thank you so much in 2023 for this final piece of the puzzle I had in hands over the weekend. I made a usb coin acceptor based on arduino but as my arduino uno's chip cant be flashed to hid, I could not send direct key strokes to mame. I decided to link arduino to python and make a code using a keyboard library, but mame would not recognize the key press, then found a directinput keyboard library which I thought might work but mame would still not register any keyboard press when a coin was inserted. Changing keyboard provider to dinput on mame.ini upon your suggestion finally helped me resolve it! Thank you!
|