首页 | 本学科首页   官方微博 | 高级检索  
     

Linux下的Input子系统
引用本文:朱银瑞,吴庆洪,吴华玲.Linux下的Input子系统[J].计算机系统应用,2013,22(12):184-187.
作者姓名:朱银瑞  吴庆洪  吴华玲
作者单位:辽宁科技大学 电子与信息工程学院, 鞍山;辽宁科技大学 电子与信息工程学院, 鞍山;辽宁科技大学 电子与信息工程学院, 鞍山
摘    要:Input子系统属于Linux系统下字符类驱动系统,现在Android、X-windows、Qt等众多应用于Linux系统中键盘、鼠标、触摸屏等输入设备的支持都通过、或越来越多倾向于标准的Input子系统.基于现况本文首先从Input_dev层,InputCore层和EventHandler层介绍Input输入子系统的实现框架,然后通过4x4矩阵按键在Input子系统中的实现以及用户在应用层通过Input子系统提供的接口函数对按键操作来查看具体的键值和按键状态.测试结果表明,Input子系统里的按键驱动稳定高效通用性强.

关 键 词:嵌入式系统  Linux  Input系统  矩阵键盘
收稿时间:2013/5/14 0:00:00
修稿时间:2013/6/24 0:00:00

Input Sub-System in Linux
ZHU Yin-Rui,WU Qing-Hong and WU Hua-Ling.Input Sub-System in Linux[J].Computer Systems& Applications,2013,22(12):184-187.
Authors:ZHU Yin-Rui  WU Qing-Hong and WU Hua-Ling
Affiliation:School of Electronic and Information Engineering, University of Science and Technology Liaoning, Anshan, China;School of Electronic and Information Engineering, University of Science and Technology Liaoning, Anshan, China;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.
Keywords:embedded system  Linux  Input sub-system  matrix keyboard
本文献已被 维普 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号