Patent ID: 7443317

Claim:
An input device comprising: a plurality of input keys; a voltage setting unit that applies a common reference potential to one end of each of the plurality of input keys; a switching unit that selects the other ends of the plurality of input keys so as to be connected to a potential lower than the reference potential; a detecting unit that detects, as an output, a variation in the reference voltage when the selected input key is switched to an on state; and a control unit, wherein, when the switching unit selects one of the input keys, the control unit controls the detecting unit to detect the output at least two times for a selection holding time where the selection of the input key is held, and, when the detected output does not vary or in a switching state where the variation is within a predetermined range, controls the switching unit to select the next input key after the selection holding time of the input key has elapsed, and when the output detected at least two times varies or when the variation is beyond the predetermined range, the control unit sets the selection holding time of the input key to be longer than the switching state.