In an ophthalmologic apparatus in which a head part is moved at a speed according to a rotation speed of a rotational part of a joystick, in order to enable a moving amount of the head part to correspond to a rotation amount even when the rotation speed becomes higher, the rotation speed of the joystick is detected at predetermined intervals, and when a current rotation speed (count of an encoder during a predetermined period) is lower than a previous rotation speed, a speed obtained by subtracting a predetermined value from the previous rotation speed is compared to the current rotation speed. Then, a higher speed is set as the current rotation speed, and the head part is moved at the speed corresponding to the current rotation speed.