relay input-selector controller