On-demand control of input-state-dependent single-photon scattering in multi-mode waveguides | Synapse