CYAPPS Posted March 9, 2009 Share Posted March 9, 2009 Ok, here's my issue, I am building my own arcade system from an old cabinet, pc (running windows xp and mame) and controls that I purchased online. I have my coin doors setup to credit the game when a coin is inserted but I was wanting to do something a little different. The way that the emulator (mame) receives a credit is by receiving the "5" key. I wanted to have a mag swipe card reader on the machine (like some of the newer arcade style places) that would allow someone to swipe a card and have the emulator (mame) receive the "5" as a key press. I found some usb swipe card readers on feebay for a good price and they work perfectly as they where made, however the issue is they act as a human interface device and send the information that is on the magnetic strip to the computer as a unique string of text, so the emulator just freaks out thinking a bunch of different keys where pressed. I either need a hardware device that can capture the data that the reader sends out as key presses and parse that data then determine if it is on a previously entered list of cards and then pass the "5" key on to the system to credit the game otherwise just halt. Or something on the software level that will capture the data before it reaches the emulator and parse it, etc. then act accordingly. Is there a way to force a human interface device to use a custom driver that would allow me to capture what was entered by just that device? I would prefer not to capture all keys that are pressed and just focus on ones from that exact device, that way I can avoid any slow down in game play. I hope this makes sense (a little tired) and hope someone can point me in the right direction. Thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.