Computer mouse

The use of mouse became a norm with the creation of the Graphic User Interface. GUI introduced windows, menus, dialogs and other features to the User Interface (UI), which totally transformed the function of a screen. Computer screen was no longer just an output device, it worked also as an input device. A pointing device were need to make the use of GUI effectively. That was where mouse came in.

The actions of a computer mouse

Generally, there are 2 actions that a mouse can perform, button click and mouse move. The response of computer software to button click varies, which makes no further discussion needed. This blog focus on the operation of mouse move used to control cursor.
Make it clear that a mouse has no knowledge of an absolute position. A mouse can only sense the relative position and it is this relative position that drive the movement of cursor on the screen.

Mechanical mouse

Main components of a mechanical mouse

The following diagram shows the main components of a mechanical mouse. (The diagram is from https://commons.wikimedia.org/wiki/File:Mouse_mechanism_diagram.svg)
Main components of mechanical mouse

  • 1: a rubber ball.
  • 2: roller, 2 roller, 90 degree apart
  • 3: disk,2 disks attached to each roller.
  • 4: LED (light-emitting diode), 2, one for each disk
  • 5: Light sensors, 2, one for each disk

The operation of a mechanical mouse

(from https://en.wikipedia.org/wiki/Computer_mouse#Optical_and_laser_mice):

  1. Moving the mouse turns the ball.
  2. X and Y rollers grip the ball and transfer movement.
  3. Optical encoding disks include light holes.
  4. Infrared LEDs shine through the disks.
  5. Sensors gather light pulses to convert to X and Y vectors
  6. The X and Y vectors are sent to the computer to move the screen cursor.

Optical mouse

Main components of an optical mouse:

  • Light source, might be LED or Laser
  • optoelectronic sensor (actually, tiny video camera)
  • image-processing chip

The operation of optical mouse:

  1. The light source shines a bean on the surface of the object under the mouse, usually the surface of a mouse pad or a desk.
  2. The optoelectronic sensor takes successive images of the surface on which the mouse operates
  3. The image-processing chip detects the movement of mouse by analyzing the successive images
  4. The detected movement data is sent to computer to move the screen cursor

Optical mouse has largely replaced the old mechanical mouse, which uses moving parts to sense motion.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值