QT 4.8 & HID-multitouch
Unsolved
Mobile and Embedded
-
Hi,
I've a touchscreen with a bug in the protocol hid-multitouch. it detects a second touch ( slot ) without passing the new TRACKING ID.
I've to restart the process to make the touchscreen work again.I would like to know if I can force qt to listen to the ABS_MT_SLOT == 0 and ignore other slot ?
Mickae1,
the wrong sequence:
016e12d2ae18 00 EV_ABS ABS_MT_TRACKING_ID 1866 016e12d2ae18 00 EV_ABS ABS_MT_POSITION_X 174 016e12d2ae18 00 EV_ABS ABS_MT_POSITION_Y 154 016e12d2ae18 00 EV_SYN 0000 0 ……………………………………………….. ……………………………………………….. 016e12d2bc1c 00 EV_ABS ABS_MT_POSITION_X 698 016e12d2bc1c 00 EV_ABS ABS_MT_SLOT 0 016e12d2bc1c 00 EV_ABS ABS_MT_POSITION_Y 478 016e12d2bc1c 00 EV_ABS ABS_Y 478 016e12d2bc1c 00 EV_SYN 0000 0 016e12d2bc21 01 EV_ABS ABS_MT_SLOT 1 <== probleme here I didn't put a new finger. problem here i don t have a new tracking ID 016e12d2bc21 01 EV_ABS ABS_MT_POSITION_X 699 016e12d2bc21 01 EV_ABS ABS_MT_POSITION_Y 423 016e12d2bc21 01 EV_SYN 0000 0 016e12d2bc2a 00 EV_ABS ABS_MT_SLOT 0 016e12d2bc2a 00 EV_ABS ABS_MT_POSITION_Y 477 016e12d2bc2a 00 EV_ABS ABS_Y 477 016e12d2bc2a 00 EV_SYN 0000 0 016e12d2bc2f 01 EV_ABS ABS_MT_SLOT 1 016e12d2bc2f 01 EV_ABS ABS_MT_POSITION_X 700 016e12d2bc2f 01 EV_ABS ABS_MT_POSITION_Y 424 016e12d2bc2f 01 EV_SYN 0000 0 016e12d2bc3c 00 EV_ABS ABS_MT_SLOT 0 016e12d2bc3c 00 EV_ABS ABS_MT_POSITION_Y 476 016e12d2bc3c 00 EV_ABS ABS_Y 476 016e12d2bc3c 00 EV_SYN 0000 0 016e12d2bc41 01 EV_ABS ABS_MT_SLOT 1 016e12d2bc41 01 EV_ABS ABS_MT_POSITION_X 701 016e12d2bc41 01 EV_ABS ABS_MT_POSITION_Y 425 016e12d2bc41 01 EV_SYN 0000 0 016e12d2bc4f 01 EV_ABS ABS_MT_POSITION_X 702 016e12d2bc4f 01 EV_ABS ABS_MT_POSITION_Y 426 016e12d2bc4f 01 EV_SYN 0000 0 016e12d2bc5c 01 EV_ABS ABS_MT_POSITION_X 703 016e12d2bc5c 00 EV_ABS ABS_MT_SLOT 0 016e12d2bc5c 00 EV_ABS ABS_MT_POSITION_Y 475 016e12d2bc5c 00 EV_ABS ABS_Y 475 016e12d2bc5c 00 EV_SYN 0000 0 016e12d2bc69 00 EV_ABS ABS_MT_POSITION_Y 474 016e12d2bc69 00 EV_ABS ABS_Y 474 016e12d2bc69 00 EV_SYN 0000 0 016e12d2bc6e 01 EV_ABS ABS_MT_SLOT 1 016e12d2bc6e 01 EV_ABS ABS_MT_POSITION_X 704 016e12d2bc6e 01 EV_ABS ABS_MT_POSITION_Y 427 016e12d2bc6e 01 EV_SYN 0000 0 016e12d2bc80 01 EV_ABS ABS_MT_POSITION_X 705 016e12d2bc80 01 EV_ABS ABS_MT_POSITION_Y 428 016e12d2bc80 01 EV_SYN 0000 0 016e12d2bc89 01 EV_ABS ABS_MT_POSITION_X 706 016e12d2bc89 00 EV_ABS ABS_MT_SLOT 0 016e12d2bc89 00 EV_ABS ABS_MT_POSITION_Y 473 016e12d2bc89 00 EV_ABS ABS_Y 473 016e12d2bc89 00 EV_SYN 0000 0 016e12d2bc9a 00 EV_ABS ABS_MT_POSITION_Y 472 016e12d2bc9a 00 EV_ABS ABS_Y 472 016e12d2bc9a 00 EV_SYN 0000 0 016e12d2bc9f 01 EV_ABS ABS_MT_SLOT 1 016e12d2bc9f 01 EV_ABS ABS_MT_POSITION_X 707 016e12d2bc9f 01 EV_ABS ABS_MT_POSITION_Y 429 016e12d2bc9f 01 EV_SYN 0000 0 016e12d2bca8 00 EV_ABS ABS_MT_SLOT 0 016e12d2bca8 00 EV_ABS ABS_MT_POSITION_Y 471 016e12d2bca8 00 EV_ABS ABS_Y 471 016e12d2bca8 00 EV_SYN 0000 0 016e12d2bcad 01 EV_ABS ABS_MT_SLOT 1 016e12d2bcad 01 EV_ABS ABS_MT_POSITION_X 708 016e12d2bcad 01 EV_SYN 0000 0 016e12d2bcbf 00 EV_ABS ABS_MT_SLOT 0 016e12d2bcbf 00 EV_ABS ABS_MT_TRACKING_ID -1 <== problem here, i didn't remove my finger 016e12d2bcbf 01 EV_ABS ABS_MT_SLOT 1 016e12d2bcbf 01 EV_ABS ABS_MT_POSITION_X 709 016e12d2bcbf 01 EV_ABS ABS_MT_POSITION_Y 430 016e12d2bcbf 01 EV_ABS ABS_X 709 016e12d2bcbf 01 EV_ABS ABS_Y 430 016e12d2bcbf 01 EV_SYN 0000 0 016e12d2bccd 01 EV_ABS ABS_MT_POSITION_X 710 016e12d2bccd 01 EV_ABS ABS_X 710 016e12d2bccd 01 EV_SYN 0000 0 016e12d2bcdf 01 EV_ABS ABS_MT_POSITION_X 711 016e12d2bcdf 01 EV_ABS ABS_MT_POSITION_Y 431 016e12d2bcdf 01 EV_ABS ABS_X 711 016e12d2bcdf 01 EV_ABS ABS_Y 431 016e12d2bcdf 01 EV_SYN 0000 0