Keeping a light-driven proton pump under control