Hi all,
I am trying to generate PS key scancodes with a microcontroller in order to send a key press and release to a PC. I can find all sorts of documentation on the web to attach a keyboard to a controller, but I want to do the opposite: drive the PC from a controller. I wrote some code that generates the proper scan codes and verified it against a real keyboard. All data is the same. However, the PC does not see the scan codes. I noted that the PC can also send codes to the keyboard. I wonder if this is causing the problem: my controller does not do reception of scancodes, so I can imagine that the PC thinks no keyboard is attached because it does not respond.
So the big question is: does a keyboard controller *have* to respond to commands from the PC?
Meindert