- 博客(10)
- 资源 (38)
- 收藏
- 关注
原创 inputreader到inputdispacther到channel
void InputReader::loopOnce() {...... mQueuedListener->flush();......}到void QueuedInputListener::flush() { size_t count = mArgsQueue.size(); for (size_t i = 0; i Notif
2015-10-23 11:13:08 538
原创 android 5.0的input init过程
SystemServer.java:public static void main(String[] args) { new SystemServer().run(); }到run():private void run() {......... try { startBootstrapServices();
2015-10-22 18:18:12 514
原创 android kl 文件的作用
首先看touchscreen的kl文件# Copyright (c) 2014, The Linux Foundation. All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provid
2015-10-20 10:34:52 2856
原创 android input系统如何导入kl文件
首先在size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize)里有个 if (mNeedToScanDevices) { mNeedToScanDevices = false;ALOGE("matt-mNeedToScanDevices");
2015-10-19 16:20:27 2674
原创 如何用property控制inputreader中拦截相应的virtual key
如何在inputreader中拦截相应的virtual key#include void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags, int32_t keyEventAction, int32_t keyEventFlags) { int32_t key
2015-10-15 14:42:24 324
原创 如何在inputreader中拦截相应的virtual key
如何在inputreader中拦截相应的virtual key首先看哪里把virtual key往上报发现InputReader.cpp里void TouchInputMapper::dispatchVirtualKey(nsecs_t when, uint32_t policyFlags, int32_t keyEventAction, int32_
2015-10-14 18:51:15 394
原创 framework的native文件夹下的cpp文件里使用property的过程
在framework的native文件夹下的cpp文件里创建property的过程既然要创建property,就在当前目录下看别人是怎么创建的grep -r "property_set"出来一堆结果,看其中的一个./services/surfaceflinger/SurfaceFlinger.cpp: property_set("service.bootanim.exit
2015-10-14 18:43:30 829
原创 input reader对virtual key的处理
inputreader中对virtualkey的处理在void TouchInputMapper::sync(nsecs_t when) 中有个 if (consumeRawTouches(when, policyFlags)) { mCurrentRawPointerData.clear(); }继续看bool TouchInput
2015-10-12 11:12:48 664
原创 android inputreader 部分对event数据的处理
status_t InputManager::start() { status_t result = mDispatcherThread->run("InputDispatcher", PRIORITY_URGENT_DISPLAY); if (result) { ALOGE("Could not start InputDispatcher thread du
2015-10-12 10:20:12 1185
原创 andrid linux kernel中植入一个文件节点
如何在andrid linux kernel中植入一个文件节点 首先 #define PROC_NAME "ftxxxx-debug" static struct proc_dir_entry *ftxxxx_proc_entry; 然后 int ftxxxx_create_apk_debug_channel(struct
2015-10-08 14:21:30 1296
CDC driver
2014-12-29
matt_MyApplication8.7z
2019-05-10
PIC16F18855 timer3 gate control功能实现
2018-04-19
全网唯一的imx6平台lcrc663驱动
2018-01-16
hi3516a 1.06版本可用的sample venc 对jpeg的snap抓图
2017-10-24
hi3516a uart1 转rs485
2017-09-21
适用于海思3516a的gpio驱动
2017-09-18
ntp-dev-4.3.93.tar.gz
2017-09-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人