Abstract:
The present disclosure relates to a method of sensing rotation of a rotation member and an electronic device performing the method, wherein the electronic device may include: a housing including one side having a substantially circular opening; a substantially circular structure configured to be rotatably positioned in or around the opening of the housing; a first sensor configured to detect a first rotation of the structure to generate a first signal; a second sensor configured to detect a second rotation of the structure, to generate a second signal; a processor coupled to the first sensor and the second sensor; and a memory coupled to the processor, wherein the memory includes instructions to enable the processor, on execution, to detect the rotation of the structure based on at least a part of the first signal or a part of the second signal, to correct the first signal to reflect actual rotation of the structure, and to perform a predetermined action based on at least part of the corrected first signal