Patent ID: 11922008
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions configured to, when executed by a processor of an electronic device, cause the electronic device to:
identify a touch input generated by a stylus pen via a touchscreen included in an electronic device;
identify whether a gesture corresponding to the touch input meets a first condition for determining a specific gesture among a plurality of gestures predetermined in the electronic device;
based on identifying that the gesture does not meet the first condition, display a handwriting corresponding to the touch input,
based on identifying that the gesture meets the first condition, identify whether the gesture meets a second condition designated in the gesture including at least one of a time condition, a length condition, and a space condition, using a touch start point of the touch input or an endpoint of a prior touch input as a reference point, based on the touch input meeting the first condition; and
based on identifying that the gesture meets the first condition and the second condition, execute a function corresponding to the specific gesture based on the touch input meeting the second condition,
wherein the second condition is designated to differ depending on a type of the specific gesture among the plurality of gestures.