Get a AVR usb dev board (AT90USBKEY2, $30 at the usual places), and
with the LUFA open-source USB stack, you can make the board look like
a USB HID keyboard (or mouse, or…) such that any input pin change
can generate any arbitrary key events you want. No drivers, no hassle,
should wake up a sleeping box just like a regular USB keyboard.