- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
CHAPTER 5 Input 5. Mouse课件
CHAPTER 5 Input
Mouse
typical optical encoding disk: This disk has 36 holes around its outer edge.
In this optomechanical arrangement, the disk moves mechanically, and an optical system counts pulses of light. On this mouse, the ball is 21 mm in diameter. The roller is 7 mm in diameter. The encoding disk has 36 holes. So if the mouse moves 25.4 mm (1 inch), the encoder chip detects 41 pulses of light.
This piece of plastic provides a window through which the infrared sensor can see. The window on one side of the disk is located slightly higher than it is on the other -- one-half the height of one of the holes in the encoder disk, to be exact. That difference causes the two infrared sensors to see pulses of light at slightly different times. There are times when one of the sensors will see a pulse of light when the other does not, and vice versa.
Although LED-based optical mice are fairly recent, another type of optical mouse has been around for over a decade. The original optical-mouse technology bounced a focused beam of light off a highly-reflective mouse pad onto a sensor. The mouse pad had a grid of dark lines. Each time the mouse was moved, the beam of light was interrupted by the grid. Whenever the light was interrupted, the sensor sent a signal to the computer and the cursor moved a corresponding amount.
This kind of optical mouse was difficult to use, requiring that you hold it at precisely the right angle to ensure that the light beam and sensor aligned. Also, damage to or loss of the mouse pad rendered the mouse useless until a replacement pad was purchased. Todays LED-based optical mice are far more user-friendly and reliable.
What Data is Sent
Whenever the mouse moves or the user clicks a button, the mouse sends 3 bytes of data to the computer. The first bytes 8 bits contain:
Left button state (0 = off, 1 = on)
Right button state (0 = off, 1 = on)
0
1
X direction (positive or negati
您可能关注的文档
- Unit 3 Travel journal Using language 课件1.ppt
- 课外练习4_相似三角形的判定.ppt
- 课外练习5_相似三角形的性质.ppt
- 导入_应用举例.ppt
- Unit 4 Lesson 20 Jenny Comes Home 教案.doc
- 练一练_比例线段.ppt
- Unit 4 Lesson 2 It's warm in spring. 课件.ppt
- 练习_二次函数的应用.ppt
- 课外例题1_圆周角.ppt
- 拓展练习2_平行线分三角形两边成比例.ppt
- Unit 5 Travelling abroad Learning about Language 导学案.doc
- Unit 4 Sharing Section 3 课件.ppt
- CHAPTER 4 The Components of the System 8. Putting It All Together 课件.ppt
- CHAPTER 8 Operating Systems and Utility Programs 1. System Software课件.ppt
- Unit 4 Lesson 21 What Year Is It 教案.doc
- Unit 3 Period 6 Listening Speaking and Writing 教学设计.doc
- CHAPTER 7 Storage 8. Chapter Summary课件.ppt
- Unit 3 Under the sea 话题导入.ppt
- Unit 2 导学案3.doc
- CHAPTER 8-6. Stand-alone Operating Systems课件.ppt
最近下载
- 如何将自己的手机号设置成空号.docx VIP
- 云南省交通规划设计研究院有限公司招聘笔试题库2025.pdf
- 《电气工程基础》(熊信银_张步涵_华中科技大学)习题答案全解 (2).doc VIP
- 急性冠状动脉综合征患者规范化诊疗中国专家共识(冠心病).pptx
- 北师大级硕士研究生“自然辩证法概论”复习题(带答案) .pdf VIP
- 企业劳动用工法律风险调查表.pdf VIP
- 《电气工程基础》(熊信银张步涵华中科技大学)习题答案全解.docx VIP
- 阳痿护理查房课件.pptx VIP
- 护士科室火灾应急预案演练脚本精选(两篇).docx
- 2025年及未来5年中国智慧机场行业市场评估分析及发展前景调研战略研究报告.docx
原创力文档


文档评论(0)