How does a computer recognize the mouse click on the screen?
Answers
Answered by
0
As you move it across your desk, the ball rolls under its own weight and pushes against two plastic rollers linked to thin wheels (numbered 6 and 7 in the photo). One of the wheels detects movements in an up-and-down direction (like the y-axis on graph/chart paper); the other detects side-to-side movements (like the x-axis on graph paper).
How do the wheels measure your hand movements? As you move the mouse, the ball moves the rollers that turn one or both of the wheels. If you move the mouse straight up, only the y-axis wheel turns; if you move to the right, only the x-axis wheel turns. And if you move the mouse at an angle, the ball turns both wheels at once. Now here's the clever bit. Each wheel is made up of plastic spokes and, as it turns, the spokes repeatedly break a light beam. The more the wheel turns, the more times the beam is broken. So counting the number of times the beam is broken is a way of precisely measuring how far the wheel has turned and how far you've pushed the mouse. The counting and measuring is done by the microchip inside the mouse, which sends details down the cable to your computer. Software in your computer moves the cursor on your screen by a corresponding amount.
There are various problems with mice like this. They don't work on all surfaces. Ideally, you need a special mouse mat but, even if you have one, the rubber ball and its rollers gradually pick up dirt, so the x- and y-axis wheels turn erratically and make the pointer stutter across your screen. One solution is to keep taking your mouse to pieces and cleaning it; another option is to get yourself an optical mouse
How do the wheels measure your hand movements? As you move the mouse, the ball moves the rollers that turn one or both of the wheels. If you move the mouse straight up, only the y-axis wheel turns; if you move to the right, only the x-axis wheel turns. And if you move the mouse at an angle, the ball turns both wheels at once. Now here's the clever bit. Each wheel is made up of plastic spokes and, as it turns, the spokes repeatedly break a light beam. The more the wheel turns, the more times the beam is broken. So counting the number of times the beam is broken is a way of precisely measuring how far the wheel has turned and how far you've pushed the mouse. The counting and measuring is done by the microchip inside the mouse, which sends details down the cable to your computer. Software in your computer moves the cursor on your screen by a corresponding amount.
There are various problems with mice like this. They don't work on all surfaces. Ideally, you need a special mouse mat but, even if you have one, the rubber ball and its rollers gradually pick up dirt, so the x- and y-axis wheels turn erratically and make the pointer stutter across your screen. One solution is to keep taking your mouse to pieces and cleaning it; another option is to get yourself an optical mouse
Similar questions