Method of controlling user interface and electronic device supporting the same

The present invention is a display module; Delivered to the input sense signal produced by operatively connected to the electronic device and, detecting the input to the additional input unit formed at one side to the electronic device, and generates, by detecting the movement during the input to the additional input maintained and one motion signal by detecting the input to the scroll portion mounted on the side for delivering at least any one signal of the scroll signal generated by the electronic device, an input interface; And receiving an input sense signal from the input interface, receiving at least one of the signal of the motion signal and the scroll signal while the input is maintained for the further input unit, and controls the user interface based on the received signal It may be an electronic device comprising a processor. However, not limited to the above embodiment can be another embodiment.