How to program input switch??