Patent ID: 8242773

Claim:
A vehicle switch comprising: a casing; an actuator movable in a predetermined direction with respect to the casing, the actuator having a first radial protrusion; a magnet fixed to the actuator; a detector for detecting magnetism generated from the magnet; a wiring board mounted with the detector and provided with a reference hole; and a holder fixed to the casing, the holder enabling the actuator to move in the predetermined direction and positioning the detector, the holder including a pin inserted into the reference hole of the wiring board, a supporter that contacts an edge of the wiring board such that the pin is pressed against a sidewall of the reference hole, and a second radial protrusion positioned to contact the first radial protrusion of the actuator, wherein the first and second radial protrusions are shaped to prevent movement of the actuator relative to the holder in a first direction, wherein one or both of the first and second radial protrusions are flexible, and are shaped to allow movement of the actuator relative to the holder in a second direction opposite the first direction, the second direction comprising a direction of insertion of the actuator into the holder, and wherein the actuator and holder are sized to prevent a positional deviation of the magnet relative to the detector.