Use function callback for PS2 keypress