Patent ID: 8982054
Filing Date: 2015-03-17
Classification: G06F

Abstract:
1. A keyboard comprising: an input interface comprising a plurality of input key icons; a rotatable infrared emitter emitting infrared light at a preset time interval to scan the input interface in each rotating period of the rotatable infrared emitter; a first counter starting a first count at each beginning of the infrared light emission; a second counter starting a second count when the infrared emitter rotates to reach a reference direction in each rotating period; an infrared receiver stopping the counts of the first counter and the second counter when the infrared receiver receives infrared light reflected from an obstacle located on an input key icon of the input interface, the first counter defining a transmission time of the infrared light in each rotating period, and the second counter defining a rotating time of the infrared emitter in each rotating period; and a processor calculating a position of the obstacle according to the transmission time, the rotating time, a rotating speed of the infrared emitter, and a position of the infrared emitter and infrared receiver.