I've been looking into this for quite some time, and I can only seem to find one way to implement a keyboard. Using a Teensy USB dev board and keyboard with USB-to-PS/2 converter, as described
here. Does anyone happen to know another way to do this? I've almost figured out how to do this same thing with a PS/2 mouse, and the keyboard is my next project. Thanks!