fishonesea

android 驱动,移植,qq群:91386163 推荐《Android深度探索(卷1):HAL与驱动开发》
  博客园  :: 首页  :: 新随笔  :: 管理

2011年12月8日

摘要: 下面是一种消抖算法,(常用于ucgui,xvworks图形控制等领域)只是思想,下面分析一下if(msg.type == MSG_POINTER ){ /*when the buttonState is not 0,it state the mouse has pressed*/ if(msg.data.pointer.buttonState !=0) { buttonState_tmp =(int)msg.data.pointer.buttonState; /* handle the mouse shake*/ while(... 阅读全文

posted @ 2011-12-08 17:42 fishonesea 阅读(1140) 评论(0) 推荐(0) 编辑