Linux下的Input子系统①.PDF

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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 输入子系统

文档评论(0)

sunyangbill + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档