A computer joystick having a sliding member for measuring rotations of the joystick's control handle is disclosed. The computer joystick comprises a housing having an upper opening, a vertical control handle having a hand holding part and a ball-shaped knob having a vertical groove installed in it, a knob holding means installed under the upper opening of the housing for rotatably holding the knob of the control handle, a sliding member having an inner end, a supporting means installed in the housing for slidingly supporting the sliding member, and a measuring means for measuring movements of the sliding member wherein the inner end of the sliding member is slidably positioned within the vertical groove of the knob and the sliding member is slidably moved within the supporting means by using the vertical groove of the knob when the control handle is rotated.
An electronic apparatus according to this invention has a display unit for displaying an index, an operation unit used for moving the index displayed by the display unit, and an adjustment unit for adjusting the operation unit, so that the moving direction of the index displayed by the display unit matches a moving direction that an operator intended. This invention can provide an effect of matching the moving direction that the operator intended with the actual moving direction of the index.