Use an Arduino Leonardo to connect buttons and a coin receptor to a PC for sending keypresses and controlling hardware