
linux-input
文章平均质量分 76
coldsnow33
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
input子系统二 驱动层input设备注册
一、原创 2013-10-17 17:41:29 · 2697 阅读 · 1 评论 -
input子系统一 主要数据结构
一、input子系统的分成结构linux系统实现了很多子系统架构,每个子系统都是分层的;input子系统也不例外,主要分为三层:(1) 硬件驱动层:与硬件相关,是驱动开发的部分。(2) 系统核心层:是连接其他两层的纽带,对应的代码为drivers/input/input.c、input-mt.c等。(3) 事件处理层:真正的事件处理部分,为应用程序提供读写接口;对应的代码为driv原创 2013-10-17 18:05:12 · 1370 阅读 · 1 评论 -
input子系统三 核心层和处理器注册
一 input字符设备注册static int __init input_init(void){ int err; err = class_register(&input_class); if (err) { pr_err("unable to register input_dev class\n"); return err; } err = input_proc_原创 2013-10-17 18:15:31 · 1280 阅读 · 1 评论 -
input子系统四 input事件处理
input事件处理流程 input driver -> input core ->event handler -> userspace 给应用程序。一 事件分发跟踪核心层留给驱动层的上报接口是input_report_abs(),最终会调用input_event()。void input_event(struct input_dev *dev, unsigned in原创 2013-10-18 17:24:34 · 7010 阅读 · 1 评论 -
input子系统五 多点上报协议
一 type A二 typeB原创 2013-11-12 10:30:08 · 3241 阅读 · 0 评论