Added the ability to set input mapping for channels and values