add keypressed and keyreleased as aliases to keydown and keyup