6. The electronic device of claim 1 , wherein the controller recognizes the gesture by analyzing an image obtained through the camera and selects the typing mode based on the gesture.
6. The electronic device of claim 1 , wherein the controller recognizes the gesture by analyzing an image obtained through the camera and selects the typing mode based on the gesture. 7. The electronic device of claim 6 , wherein the controller selects the single-hand typing mode when the number of hands performing a predetermined gesture is one and selects the double-hand typing mode when the number of hands performing the predetermined gesture is two.