PURPOSE: To omit a connection cord provided between a mouse and a computer main body and to improve the freedom degree of the mouse by revolving a rubber ball provided on the lower face side of the mouse in order to detect the moving amount of the mouse and sending this detected moving amount to the computer main body as the infrared pulses having the wavelengths different by the moving directions of the mouse.
CONSTITUTION: When a ball 2 is revolved, the detectors 3X and 3Y detect the speed of revolution of the ball 2 in the X and Y axis directions respectively. Then the X and Y axis direction measuring means 5X and 5Y measure the moving amount of a mouse in the X and Y axis directions respectively. Based on these detection/ measurement outputs, a pulse wavelength deciding means 5A decides eight types of pulse wavelength and the pulse oscillation frequency. Based on this decision output and the ON/OFF operations of a side clock button 7, a pulse frequency deciding means 5B decides the final pulse oscillation frequency. Then a pulse generating means 5C oscillates the pulses of eight types of wavelength via an infrared transmitter 8 is the frequency equivalent to the moving amount of the mouse. Thus no connection code is needed between the mouse and a computer main body. Then the freedom degree of the mouse is improved.