在linux 的input 子系统中,输入设备的驱动主要实现input driver ,这一层通过handle 处理将input device 与 input handler 绑定到一起。
驱动层通过timer 轮询或中断的方式把设备端提供的数据通过一定的处理传到handle 层的buffer. 用户空间先打开该input device, 再调用read 来获取驱动传给handle 层的数据
在linux 的input 子系统中,输入设备的驱动主要实现input driver ,这一层通过handle 处理将input device 与 input handler 绑定到一起。
驱动层通过timer 轮询或中断的方式把设备端提供的数据通过一定的处理传到handle 层的buffer. 用户空间先打开该input device, 再调用read 来获取驱动传给handle 层的数据