Using 2 keyboards with ps2keyboard library

you could try duplicating the class code and use another name. You would need to modify the global variables and #defines to not have name conflicts and instantiate your second keyboard as an instance of the second class...

what do you need 2 keyboards for?