Small update: added constants for key events.