Generic inline input event emitter.