文件名称:mini2440按键驱动及测试程序
文件大小:410KB
文件格式:BZ2
更新时间:2015-10-18 16:28:11
input 子系统 platform 按键驱动 测试程序
mini2440的按键驱动, 展示了input子系统和platform driver的编写方法, 浓缩了kernel自带的gpio-keys驱动, 更清楚得展示驱动的编写过程, 并附带了测试程序, 最适合学习是借鉴。 测试信息: Type is 1, code is 59, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 59, value is 0. Type is 0, code is 0, value is 0. Type is 1, code is 60, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 60, value is 0. Type is 0, code is 0, value is 0. Type is 1, code is 61, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 61, value is 0. Type is 0, code is 0, value is 0. Type is 1, code is 63, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 63, value is 0. Type is 0, code is 0, value is 0. Type is 1, code is 116, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 116, value is 0. Type is 0, code is 0, value is 0. Type is 1, code is 64, value is 1. Type is 0, code is 0, value is 0. Type is 1, code is 64, value is 0. Type is 0, code is 0, value is 0.