Patent ID: 7754987

Claim:
A switch for an electronic device, comprising: a substrate comprising: a main body; and a cylindrical portion protruding upright from the main body and defining a transverse groove in the outer surface thereof; a light emitter fixed on the cylindrical portion and configured for radiating a plurality light beams; a plurality of photoelectric members fixed on the main body and surrounding the cylindrical portion so as to receive the radiated light beams and produce a plurality of electrical output respectively; and a dial member comprising: a cylindrical dial; a plurality of arms protruding upright from the cylindrical dial and forming a plurality of engagement portions on the inner surfaces thereof respectively, the engagement portion engaging in the transverse groove so that the cylindrical dial is rotatable to a plurality of orientations at which the produced electrical outputs are coded as a plurality of switch signals by selectively blocking the radiated light beams using the arms.