Skip to content
Learnearn.uk » IGCSE Computer Science Course » Computer Mice

Computer Mice

Introduction

Why do we need computer mice?

A mouse allows the user to easily interact with any item on a screen, through the use of clicking, dragging and hovering.

When computers were first invented they were text only systems with limited functionality, operated by specialists. These systems could be quickly and accurately operated using text based commands via a keyboard.

The first prototype computer mouse – Wikipedia / SRI International

However as computers became more widespread and their usage scenarios widened there emerged a need for a device that could be used to quickly, accurately and intuitively reference a point on the screen. This was especially important for the development of graphic design and desktop publishing software.

The first computer mouse was invented in 1964 by Bill English, chief engineer at SRI. The initial device contained a single button but multiple button devices soon followed. The first commercially available consumer mouse was released in 1984 by Apple, who licenced SRI’s patent.

One of the big problems with mice was the lead, its tail. It took up desk spaces, often got tangled and was almost always the first thing to break on a mouse. In order to address this problem the first wireless mouse was release in 1991 by Logitech.

These early mice used a moving roller-ball and mechanical sensors to sense movement and was almost 40 years after the original mouse was invented that the technology changed significantly, with the release of the world’s first optical mouse in 1999.

 

Mechanical Mice

How mechanical mice work

Source: Lambatron / Wikipedia

Mechanical mice work through the use of a roller ball and wheels. When the user moves the mouse the rollerball(1), which is touching the desktop surface, begins to turn and the two small wheels(2) touching the ball begin to rotate. These are connected to larger wheels(3) with  holes around the rim.

A light is shone through the hole(4)s and as the wheels turn the amount of light travelling through the holes varies. A light sensor(5) measures the light variations and uses the data to calculated the speed of the  movement.

The two wheels are located at 90 degrees to each other so that one calculates the speed forwards and backwards, while the other records the speed left and right.

This data is then sent to the computer which uses it to update the position of the cursor on screen.

Optical Mice

How optical mice work

© Raimond Spekking / CC BY-SA 4.0 (via Wikimedia Commons)

Optical sensors work in a completely different way. Light is shone down onto the surface of the desktop (usually LED or Laser light) and is reflected back up into the mouse via mirrors or lens onto the surface of an opto-electric sensor array – essentially a tiny digital camera sensor.

The image data is fed into an on-board image processing unit and the differences between the images is used to calculate the speed and direction of mouse movement.

Here the image of my desk appears to be moving left, so the mouse must be moving right

Comparisons

Optical Mice vs Mechanical Mice

Optical mice were a vast improvement over mechanical mice in a number of ways:

  • There were generally far more precise in their measurement than mechanical mice.
  • The wheels on a rollerball mouse often got clogged up with dirt and grease and so has to be disassembled periodically to clean them.
  • Annoying students would often deliberately take the rollerball out and use is as a ballistic weapon, rendering the mouse useless.

Originally optical mice struggled to function on highly reflective or clear glass surfaces but successive improvements in technology have largely elimination this issue and mechanical mice are now largely considered a legacy device.

Wired vs Wireless

Wireless mouse and dongle

Advantages of wireless mice

  • There isn’t a cable getting in the way
  • They are less likely to get damaged or trip someone up.
  • You can control the cursor from a number of metres away (for example if you are giving a presentation)

 

Advantages of wired mice

  • They are much harder to lose (especially the tiny USB receiver) then wired mice
  • The are more difficult to steal
  • The are generally cheaper
  • They don’t have batteries that need replacing
  • The don’t suffer from potential interference if you are in a room with a lot of identical mouse operating on the same frequency.

 

Resources

Resources