A simple mcu like the 16f675 would be sufficient. But you have to program it in pic assembler(software is free available at
www.microchip.com).
Another option might be to use the ic that comes with the TI launchpad.
Then you have a free compiler(Look at the the TI launchpad thread here in HT).
It will cost you 4.30 dollars and you will be able to program it in C.
Together with the information on this page from ben90 :
http://www.computer-engineering.org/ps2keyboard/
Send scan code of z key pressed and afterwards send scan code of z key released.
And you are ready to go.
Perhaps Modelworks and Cyclowizard have some ready set software examples for you...
It never hurts to ask...
Maybe even an USB example is possible.
Here is the link to the thread :
http://forums.anandtech.com/showthread.php?t=2087844