abstract |
According to an embodiment, an electronic device comprises: a communication module comprising communication circuitry, a processor electrically connected with the communication module, and a memory electrically connected with the processor, wherein the memory stores instructions which, when executed by the processor, cause the processor to control the electronic device to: receive at least one first communication signal including information about a position of a stylus pen through the communication module, identify a gesture based on the information about the position of the stylus pen, identify an operation corresponding to the gesture, and based on detecting a repetition event for the operation based on at least one second communication signal received from the stylus pen, through the communication module, repeat an execution of the operation. |