If you are looking for a PS/2 unit, it is fairly
easy to do something
using an Atmel microcontroller and BASCOM basic compiler. USB will be a lot
harder...
Would it then be possible for the OP to convert the keyboard to PS/2 and use
a PS/2-to-USB converter?
Zane