计算机系统应用
計算機繫統應用
계산궤계통응용
APPLICATIONS OF THE COMPUTER SYSTEMS
2013年
12期
184-187
,共4页
嵌入式系统%Linux%Input 系统%矩阵键盘
嵌入式繫統%Linux%Input 繫統%矩陣鍵盤
감입식계통%Linux%Input 계통%구진건반
embedded system%Linux%Input sub-system%matrix keyboard
Input 子系统属于 Linux 系统下字符类驱动系统,现在 Android、X-windows、Qt 等众多应用于 Linux 系统中键盘、鼠标、触摸屏等输入设备的支持都通过、或越来越多倾向于标准的 Input 子系统。基于现况本文首先从 Input_dev 层, Input Core 层和 Event Handler 层介绍 Input 输入子系统的实现框架,然后通过4x4矩阵按键在Input 子系统中的实现以及用户在应用层通过 Input 子系统提供的接口函数对按键操作来查看具体的键值和按键状态。测试结果表明, Input 子系统里的按键驱动稳定高效通用性强。
Input 子繫統屬于 Linux 繫統下字符類驅動繫統,現在 Android、X-windows、Qt 等衆多應用于 Linux 繫統中鍵盤、鼠標、觸摸屏等輸入設備的支持都通過、或越來越多傾嚮于標準的 Input 子繫統。基于現況本文首先從 Input_dev 層, Input Core 層和 Event Handler 層介紹 Input 輸入子繫統的實現框架,然後通過4x4矩陣按鍵在Input 子繫統中的實現以及用戶在應用層通過 Input 子繫統提供的接口函數對按鍵操作來查看具體的鍵值和按鍵狀態。測試結果錶明, Input 子繫統裏的按鍵驅動穩定高效通用性彊。
Input 자계통속우 Linux 계통하자부류구동계통,현재 Android、X-windows、Qt 등음다응용우 Linux 계통중건반、서표、촉모병등수입설비적지지도통과、혹월래월다경향우표준적 Input 자계통。기우현황본문수선종 Input_dev 층, Input Core 층화 Event Handler 층개소 Input 수입자계통적실현광가,연후통과4x4구진안건재Input 자계통중적실현이급용호재응용층통과 Input 자계통제공적접구함수대안건조작래사간구체적건치화안건상태。측시결과표명, Input 자계통리적안건구동은정고효통용성강。
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.