Added code to handle modifier keys in ps2_kbd