Douglas Engelbart invented the computer mouse in 1964 to facilitate graphical user interfaces and pointing on digital displays. The mouse uses an optical or mechanical system to detect movement over a surface and translate it to on-screen cursor movement. It consists of a ball or optical sensor, buttons, and an electronic circuit board that encodes motion data for transmission to and interpretation by the connected computer. Modern mice use optical sensors rather than mechanical components, improving durability and versatility.