| CPC G06F 3/016 (2013.01) [G06F 1/1652 (2013.01); G06F 3/0416 (2013.01); G06F 3/044 (2013.01); G06F 2203/04102 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
a first housing;
a second housing movably coupled to the first housing in a first direction or a second direction opposite to the first direction with respect to the first housing;
a flexible display sliding-out from the first housing as the second housing moves in the first direction, or sliding-in into the first housing as the second housing moves in the second direction;
a first vibration motor disposed in the first housing;
a second vibration motor disposed in the second housing;
memory, comprising one or more storage mediums, storing instructions; and
at least one processor operably connected to the first vibration motor and the second vibration motor,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
receive a touch input for the flexible display,
identify, in response to the touch input, a first distance between a location of a contact point of the touch input and the first vibration motor, and a second distance between the location of the contact point of the touch input and the second vibration motor, and
provide a haptic notification for the touch input, by adjusting an intensity of vibration provided through the first vibration motor and the second vibration motor based on identifying the first distance and the second distance.
|