主权项 |
1. A position sensor that detects a position of an operation member moved along an operation path extending in three different directions from a specific position, the position sensor comprising:
a single detection subject that moves in cooperation with the operation member between the branching position and a first position, a second position, and a third position that are located in three directions from a branching position corresponding to the specific position; and detection elements that are capable of detecting the detection subject, wherein each of the detection elements generates an output indicating detection of the detection subject, the detection elements are laid out so that movement of the detection subject from the branching position to any one of the first to third positions changes the outputs of at least two of the detection elements from a state indicating detection of the detection subject to a state indicating non-detection of the detection subject, changes the output of at least another one of the detection elements from a state indicating non-detection of the detection subject to a state indicating detection of the detection subject, and keeps the output of a further one of the detection elements unchanged, the detection elements are also laid out so that movement of the detection subject from the branching position to any one of the first to third positions changes the outputs of at least three of the detection elements, and the at least three of the detection elements of which the outputs change are in a combination that differs for each of the first to third positions. |