android 玩愤怒的小鸟等游戏的时候全屏TP失败

1.tp driver的tpd_down()和tpd_up()函数不需要进行报告id号码。自己主动顶级赛;
2.tpd_up()功能只需要报告BTN_TOUCH和mt_sync信息,其他信息未报告,如下面:
static  void tpd_up(int x, int y,int *count) 
{
     input_report_key(tpd->dev, BTN_TOUCH, 0);
     //printk("U[%4d %4d %4d] ", x, y, 0);
     input_mt_sync(tpd->dev);
     TPD_EM_PRINT(x, y, x, y, 0, 0);
     if (FACTORY_BOOT == get_boot_mode()|| RECOVERY_BOOT == get_boot_mode())
     {   
        tpd_button(x, y, 0); 
     }     
}

版权声明:本文博客原创文章,博客,未经同意,不得转载。

你可能感兴趣的:(android)