Added the KeyPress and KeyRelease events