Rotary switch as stepped potentiometer into analog in....?

Sorry I think I mis understood what sort of switch you had. I it was a rotory encoder. If it is just anrotorynswitch then you don't have to worry about the combination of switches as only one will be on at one time. Therefor you can just have a chain of 12 resistors with the switch shorting out further up the chain each time.