CPC G06F 3/03545 (2013.01) [G06F 3/04817 (2013.01); G06F 3/04845 (2013.01); G06F 3/0346 (2013.01); G06F 3/0484 (2013.01); G06F 3/04842 (2013.01); G06F 2200/1632 (2013.01); G06F 2203/04806 (2013.01); G06F 2203/04807 (2013.01)] | 15 Claims |
1. An electronic device comprising:
a display;
a processor; and
memory storing instructions that, when executed by the processor, cause the electronic device to:
identify an air pointer initiation event of a stylus pen,
based on rotation information of the display and information of at least one application being executed in the electronic device, display, on the display, an air pointer of the stylus pen,
in case a selection event is received from the stylus pen, identify first position information among multiple pieces of position information for the air pointer, the multiple pieces of position information being calculated sequentially in time according to an operation of the selection event,
based on the information of the at least one application being executed in the electronic device, identify a function object configured in an area including the first position information on the display, and
perform a function of the function object corresponding to the selection event.
|