Easiest and simplest would be to wire it to a key on your keyboard through a level-shifter. Looking for something a bit more professional, like RS232, ISA, USB, PCI(e)? You may be able to use RS232 without an intermediary, but the others require packetization. Actually, not really sure about ISA.