Patent ID: 8165648

Claim:
An electronic apparatus comprising: a first casing; a second casing; a coupling mechanism configured to couple the first casing and the second casing while allowing the first casing and the second casing to slide and rotate with respect to each other in a state where the first casing and the second casing being overlapped with each other, the coupling mechanism retaining the first casing and the second casing to be in one of: a first posture in which the first casing and the second casing are being overlapped; a second posture in which the first casing and the second casing are being slidably moved; and a third posture in which the first casing and the second casing are being rotated; a magnet provided in one of the first casing and the second casing; a first magnetic sensor provided in the other of the first casing and the second casing at a position opposing the magnet in the first posture for outputting a first detection signal when a magnetic force is applied by the magnet; and a second magnetic sensor provided in the other of the first casing and the second casing at a position opposing the magnet in the third posture for outputting a second detection signal when the magnetic force is applied by the magnet.