I working on an mame arcade which with have a exterior knob which allows you to change the game by twisting. IE: changing the channel/game. I'm thinking I can use a arduino to read potentiometer input and output keyboard trigger to an auto-hot-key script to exit the current game switch to the next game.