Added definition to rotary switch.