Patent ID: 8000597

Claim:
An input device, comprising: a push button, a pressing protrusion coupled to a lower surface of the push button and protruding downward, and a switch section located below the pressing protrusion and configured to be pressed when the push button is pressed downward; and a rotary member supported at the periphery of the push button rotatably around the center of the push button as a rotation center, a magnetic-field generating member located below the rotary member and configured to be rotated in association with rotation of the rotary member, and a magnetic sensor configured to detect a rotational magnetic field that is generated by the magnetic-field generating member because of the rotation of the rotary member, wherein the magnetic-field generating member has a through hole at the center thereof and is supported in such a manner as the pressing protrusion can extend through the through hole, wherein the magnetic sensor and the switch section are arranged side by side on a substrate, and the magnetic sensor is located at a position to face the through hole in a height direction within a rotation range, and wherein the center of the pressing protrusion is aligned with the rotation center; at a reference position (not-rotated state), a ratio (T 1 /L 1 ) of a center width T 1 in a width direction of the through hole to a center length L 1 in a length direction of the through hole is larger than 1, the center width T 1 passing through the center of the through hole and the center of the pressing protrusion, the center length L 1 being orthogonal to the center width T 1 at the center of the through hole; at least a part of a half of the magnetic-field generating member and at least a part of the other half of the magnetic-field generating member with respect to the center width T 1 in the width direction as the boundary are polarized to different polarities; and the magnetic sensor is arranged at a position separated from the rotation center in the width direction of the through hole.