Added more input events.