The mouse of a computer is a very important part which lets you have greater mobility while using a computer.

As you may already know, today, mice can have lasers instead of the traditional rollerball. The optical mice are better because they are exact, and they don't have a ball that wears out.

The use of a mouse is to be able to open a file or get from place to place on your computer screen. It's purpose is to help you get farther into what you need. If there was no mouse, you couldn't do anything on a computer. It would be useless.

When you use your mouse, five steps occur before anything happens:

  1. The ball inside the mouse touches the desktop and rolls while it moves
  2. Two rollers inside the mouse touch the ball. One is positioned to detect motion in the X direction, and one is turned 90 degrees to feel the motion in the Y direction.
  3. Each roller conects to a shaft with a holed disk attached to the end. When the shaft spins, so does the disk.
  4. On either side of the disk is an infrared light emitting diode (LED) and an infrared sensor. The spinning disk breaks up the light and the infrared sensor sees pulses of light. The rate of the pulsing tells the onboard processor how fast to move the cursor using binary code. (ones and zeroes)
  5. This data is transferred to the computer through the mouse cord.

When a user moves or clicks a mouse button, the mouse sends 3 bytes each containing 8 bits to the computer. The first 8 bits contain the folowing in binary code.

Bit # Contents
1 Left button(0=off-click=1or on)
2 Right button(0=off-click=1or on)
3 0
4 1
5 X direction
6 Y direction
7 X overflow
8 Y overflow

 

 

Home | Communication | Entertainment | Games | About-Us | Credits | Thinkquest
Page last updated on January 10, 2002. Click to email us.