Using Arduino UNO as a PS/2 to USB adapter

Hi,

Yes, I know this is overkill and useless because the same can be achieved with a $4 PS/2 to USB adapter from eBay.

But I already have the Arduino UNO IDE's serial monitor displaying the PS/2 keyboard presses. I was just wondering how far the thing can be pushed in this regard, now that I have hooked it up.

So is it possible to deliver these key presses as actual keyboard input to the PC, either through the same built-in USB port that's powering up the board/uploading the sketch or the several other pins (for the latter case, I have male and female USB cables/connectors)? If so, what changes would I need to make in this code that I'm using: GitHub - slu4coder/ArduinoPS2Keyboard: This is a quick and dirty Arduino sketch that allows you to read out a PS/2 keyboard without additional libraries or external components..

From my limited experience of USB, I think the answer is no. The UNO USB interface identifies itself to the host PC as a serial device (CDC class device - I think). I think that in order to be a keyboard, the UNO needs to identify itself as a Human Interface Device. I don't believe that there is a way around this with an UNO.

BUT, I could be wrong!