The optomechanical mouse uses a ball that rolls wheels inside the mouse, each containing holes detected by sensors. As the wheels spin, the lights represent mouse movement on the x and y axes. While more accurate than mechanical mice using only wheels, optomechanical mice are not as precise as optical mice. It functions similarly to mechanical mice but uses LEDs and photodetectors to sense ball movement and translate it to cursor position.