Neater way to code these choices?

Or, for an alternate approach, look through this thread(it's long, look near the end). Uses a single analog input for a rotary wafer.