I have an arduino MEGA 2560, and I've connected my PS/2 USB socket keyboard, but after a brief opening of the leds, the keyboard doesn't work, and every button I click doesn't register by the arduino (I've tried the keyboard, it does work on my computer, and under the keyboard it's written PS2, and some months ago it worked with the arduino).
I've checked the arduino Serial Comunication led, and when I click te buttons, the led doesn't open, so it doesn't send anything to the serial monitor.
I'm using the PS2keyboard library and the basic "International" example, with Clock pin 9 and Data pin 8.
I cannot at this point, there is not enough information. Post your schematic be sure to show all connections, parts, power, ground, and power source. Also post links to the hardware items technical information and your code using code tags.
I've just resolved, the problem was that every arduino has specifics interrupt pins.
For everyone who see at this post and have the same problem those down are the valid interupt pins you need to put your clock wire (the data wire can be put on every digital pin that aren't 1 or 2):