Abstract:
An electronic device for processing touch input is disclosed. An electronic device may comprise a touchscreen and a processor configured to perform a first function based on a touch input made by an external object and received through the touchscreen, to determine whether the electronic device is grounded when a variation in a capacitance for the touch input increases to a preset first threshold or more, to adjust a first capacitance for the touch input where the capacitance variation occurs when the electronic device is determined to not be grounded, and to determine whether to perform a second function based on the touch input where the capacitance variation occurs based on the adjusted first capacitance.
Abstract:
An electronic device according to various examples comprises: a touch screen display including a touch panel; a processor electrically connected to the display; and a memory electrically connected to the processor, wherein the memory can be set to store instructions that, when executed, enable the processor to: receive, from the touch panel, data related to contact or proximity of an external object to the touch screen display; determine an area detected by the touch panel through the contact or the proximity on the basis of at least a part of the data; determine at least a part of the area having a relatively stronger signal strength in the area; determine at least another part of the area having a relatively weaker signal strength in the area; and display an image or a change in an image on the display on the basis of positions and/or sizes of the determined areas.
Abstract:
An electronic device is provided. The electronic device includes a display including a touch panel; a processor electrically connected to the display; and a memory electrically connected with the processor, wherein the memory stores instructions executed to enable the processor to: receive, from the touch panel, first data regarding a time or an area contacted by an external object through a first region on the display, receive, from the touch panel, second data regarding a contact or an approach of the external object to a second region of the display after the external object is spaced apart from the display, and display an image or an image variation on the display based on the first data or the second data.