摘要 |
A magnetic field generating portion is provided to a moving unit moving together with an operating unit. Two magnets are disposed in the magnetic field generating portion with a gap between in the direction of movement. A detection unit is provided to a fixed portion. The detection unit includes a first magnetoresistive device and a second magnetoresistive device and outputs of different combinations are obtained depending which of a first detection position, a second detection position, and an intermediate detection position, the moving unit has moved to. |