Answer by
coly20032003 (78)
As far as I am concerned, the working process of an optical mouse is somewhat complex. For the optical mouse itself, it contains two-electrode valve, inductor and some other parts. These parts could make the computer have a perception about the moving of the optical mouse, so that it could locate its position.