CPC G06F 3/0418 (2013.01) [G06F 1/1652 (2013.01); G06F 3/0445 (2019.05); G06F 2203/04102 (2013.01); G06F 2203/04111 (2013.01); G06F 2203/04112 (2013.01)] | 19 Claims |
1. An electronic device comprising:
a housing including a first housing and a second housing, wherein the second housing is disposed to be movable with respect to the first housing;
a flexible display including a touch panel, wherein a first area of the flexible display is visually exposed outside of the housing, and wherein a second area of the flexible display is extended from the first area, is operatively connected to the second housing, and is configured to move in accordance with movement of the second housing;
at least one sensor;
a processor; and
a memory storing instructions that, when executed by the processor, cause the electronic device to:
identify a change of capacitance of the touch panel in case that the second area is moved;
identify, using the at least one sensor, physical deformation of a visually exposed portion of the second area;
identify a change of resistance based on the physical deformation of the visually exposed portion of the second area; and
compensate a touch sensitivity of the touch panel, based on the change of capacitance for a predetermined time and the change of resistance depending on a degree of physical deformation.
|