Electronic device with gesture detection system and methods for using the gesture detection system
View Patent ↗A method in an electronic device, the method includes projecting infrared (“IR”) light from a plurality of light emitting diodes (“LEDs”) disposed proximate to the perimeter of the electronic device, detecting, by a sensor, IR light originating from at least two of the plurality of LEDs reflected from off of a person, and carrying out a function based on the relative strength of the detected IR light from the LEDs.
1. A method in an electronic device, the method comprising:
projecting infrared (“IR”) light from a first light emitting diode (“LED”) disposed proximate to the perimeter of the electronic device;
projecting IR light from a second LED disposed proximate to the perimeter of the electronic device;
detecting, by a sensor disposed closer to the first LED than the second LED, reflected IR light from off of a person;
carrying out a voting function based on the detected IR light; and
determining whether to deactivate a touch screen of the device based on the results of the voting function.
2. The method of claim 1 , wherein the determining step comprises:
if the detected IR light originates from the second LED, detecting that the person is approaching the device; and
if the detected IR light originates from the first LED, deactivating the touch screen of the device.
3. The method of claim 1 , wherein the second LED has a longer range than the first LED.