摘要 |
An electronic device including a photo sensor and a gesture recognition module, and method for the electronic device are provided. The photo sensor emits infrared light, receives reflected light from an external object to which the IR light has been emitted, and generates reflected light data. Then, the gesture recognition module determines a motion or a cover state of an external object as a predefined gesture input type using the reflected light data. The gesture input type includes at least two or more types of motions or cover inputs indicating different cover states of different durations. |