Renamed events to inputEvents.