How to program input switch??

yea that would b great, do u also know where i can learn to code inputs. The way that I want it by puting 5 inputs, 1 for off and the other 4 inputs make 4 diff light patterns