Added addAlias/es, addEvent to InputWriter

This means mods can add triggers to keystrokes.