Then you'll probably have to get a list of the actual PS/2 scancodes relating to various keypresses, numeric, alpha, whatever. Probably throw all of those into a lookup table, crunch the table and get your keypress out of it.
Basically, you're building a PS/2 keyboard reader. I'd be willing to bet that if you found some PS/2 reader code somewhere for plugging in a standard keyboard, that it would actually work.
Bookmarks