Android Play Angry Birds etc full Screen game when TP expires

Source: Internet
Author: User
1.TP driver Tpd_down () and tpd_up () function do not need to escalate the ID number, the upper layer will automatically match;
The 2.TPD_UP () function only needs to escalate Btn_touch and mt_sync information, other information is not escalated, as follows:
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 Play Angry Birds etc full Screen game when TP expires

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.