have a dustproof and waterproof structure instead of having insulating sheet 37 the electronic apparatus may have a wall provided in the form of a box shaped recessed part to cover the periphery and bottom of opening 15 of housing 14 as a waterproof construction by using a light emitting device such as a led or an el device for example at wiring board 16 provided with second signal generators 17 inside housing 14 and using light transmitting material for cover 19 to allow cover 19 to guide light emitted by the light emitting device to the top side of housing 14 the periphery of input device 11 can be illuminated with this light this improves visibility of the position of input device 11 and allows favorable operation for example even at night not only cover 19 but also component case 12 of input device 11 may be made of light transmitting material to guide the light emitted by the light emitting device as described above the present embodiment facilitates the replacement of input device 11 which can be removed by just detaching cover 19 from housing 14 without removing housing 14 from the electronic apparatus the present invention is applicable to cases where a stick a pad a rolling member or the like is mounted as operating member 11 a of input device 11 and each first signal generator 13 operates in accordance with the operation of such operating member 11 a the second exemplary embodiment of the present invention will be described hereinafter in the present embodiment a trackball device capable of detecting operation and a signal through use of magnetism is mounted in an electronic apparatus in place of input device 11 such as.