merge pre/post input state to single 'input' map