Patent ID: 8154367

Claim:
A switch comprising: a casing; an actuator movable in a predetermined direction with respect to the casing; a magnet fixed to the actuator; a first detector fixed to the casing, the first detector being adapted to detect magnetism generated from the magnet; and a second detector disposed at a position apart from the first detector by a predetermined distance along the predetermined direction, the second detector being adapted to detect magnetism generated from the magnet, wherein the magnet moves along the predetermined direction, and a movable range of the magnet is limited between a first point and a second point, and the predetermined distance is determined, such that when the magnet is positioned at the first point, the first detector detects the magnetism, while the second detector does not detect the magnetism, when the magnet is positioned at the second point, the first detector does not detect the magnetism, while the second detector detects the magnetism, and at every position of the magnet between the first point and the second point, either the first detector or the second detector detects the magnetism.