I am trying to get some keystrokes sent to MAME via an external application. I have tried SendKeys, SendInput, and even keybd_event. They all work fine in windows apps like Notepad, but MAME doesn't respond at all. I know keybd_event works for the special LED keys like numlock (ledutil uses it), but I can't get other keys sent. Any hints would be appreciated.