- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Linux下的Input子系统①.PDF
计 算 机 系 统 应 用 2013 年 第 22 卷 第 12 期
Linux 下的Input 子系统①
朱银瑞, 吴庆洪, 吴华玲
(辽宁科技大学 电子与信息工程学院, 鞍山)
摘 要: Input 子系统属于 Linux 系统下字符类驱动系统, 现在 Android 、X-windows 、Qt 等众多应用于 Linux 系
统中键盘、鼠标、触摸屏等输入设备的支持都通过、或越来越多倾向于标准的 Input 子系统. 基于现况本文首先
从 Input_dev 层, Input Core 层 和 Event Handler 层介绍 Input 输入子系统的实现框架, 然后通过 4x4 矩阵按键在
Input 子系统中的实现以及用户在应用层通过 Input 子系统提供的接口函数对按键操作来查看具体的键值和按键
状态. 测试结果表明, Input 子系统里的按键驱动稳定高效通用性强.
关键词: 嵌入式系统; Linux; Input 系统; 矩阵键盘
Input Sub-System in Linux
ZHU Yin-Rui, WU Qing-Hong, WU Hua-Ling
(School of Electronic and Information Engineering, University of Science and Technology Liaoning, Anshan, China)
Abstract: In Linux system the Input sub-system is character driven system. Now android, X-windows, Qt, and many
other applications in Linux system for input devices such as keyboard, mouse, touch screen support all through, or more
and more inclined to standard Input subsystem. Based on current conditions, this article first from Input_dev layer, Input
Core layer and the Event Handler layer introduced the implementation of Input sub-system framework, and then achieve
it through the Input sub-system for 4x4 matrix keypad and the user in the application layer use the interface function
provided by Input sub-system to operate the buttons in order to view the specific states and values of keys. The results
shows that the keypad driver in Input sub-system are more stable and have a high efficiency and so it has a good
common use.
Key words: embedded system; Linux; Input sub-system; matrix keyboard
随着科技的进步, 电子信息技术得到了飞速的发 Linux 系统中, 都可以利用Input 接口函数来实现按键、
展, 嵌入式系统产品已经深入到人们日常的工作和生 触摸屏、鼠标、跟踪球、操纵杆、加速计和手写板等
活当中了, 例如, 打印机、空调、PDA 、洗衣机、智能 输入型设备驱动, 使这些驱动变得更易操作应用.
手机等. 这些设备都需要用到或多或少的按键, 而按
键作为人机交互的重要手段之一, 在嵌入式系统产品 1 输入子系统
您可能关注的文档
- (2018年第三季度).PDF
- 05—06学年度第一学期期末考试监考注意事项及阅卷安排.doc
- 106年度儿童及少年性剥削工作者专业训练计画研习-高雄市立仁武特殊.PDF
- 106年度秋季产业硕士专班招生简章-中兴大学招生组.PDF
- 2014-2015学年大课间站位图及路线.ppt.ppt
- 2014-浙江大学数学系量子信息与量子计算秋季系列高级讲座通知.PDF
- 2014全国大专秋季盃慢速垒球锦标赛.doc
- 2014盛力瑛才中国青少年锦标赛第三场–秋季杯-中华全国体育总会.PDF
- 2014香港秋季电子展招展函-斯瑞国际展览.doc
- 2015年教育学院院整合型计画成果发表-国立中正大学教育学院.PDF
- 部分可观测性下组合任务运动一种基于优化方法camille phiquepal 1153.pdf
- pcf2测量报告全尺寸part.pdf
- 画猫男孩级读者剧场剧本根据民间故事改编由kitty the boy who drew cats.pdf
- 文本说明二阶段-2x1000mw1acfc.pdf
- 批准hcki534d 544d-绕组技术数据表hcki5d 17 td en rev.pdf
- uu24m6-检测按键灯网口等.pdf
- 文案技术数据表2007technical datasheet.pdf
- 3g sleep mode application note睡眠模式应用程序说明.pdf
- 芯驿电子科技教程302 petalinux安装.pdf
- 案例shapemonkey用户指南2017 dan ebberts orrin user.pdf
文档评论(0)