2019-11-29-WPF- test equipment sends touch touch down and lift unpaired

Original: 2019-11-29 WPF - Test-touch device sending touch down and lift unpaired

title author date CreateTime categories
Test WPF touch device transmits touch down and lift unpaired
lindexi
2019-11-29 08:47:13 +0800
2019-07-15 08:58:11 +0800
WPF

I recently got a display, the device is always lost when the touch pen, I tested for this article by touch whether the device is pressed and lifted unpaired

Inside a touch device, if using Microsoft's HID protocol, then the need to comply with the agreement to make Windows-based software can be used

About HID protocol look of Windows Pen agreement

If a message is sent inside, not only press the lift, or vice versa, then the software will be a lost pen, which is sometimes a touch did not respond

I need to test the software current touch inside to get a few points, what are the id is, if there is a point to receive press again before lifting, then tell the user that currently exist touch down. If there is a point not raised at all to leave my hands touch the device and found that there did not receive points raised, then tell the user that currently exist do not touch points raised

In fact, HID inside the device, press and for mobile use are 0x07 and 0x04 is used to lift a detailed look at the Windows Pen agreement

This test tool's source code look github

Guess you like

Origin www.cnblogs.com/lonelyxmas/p/12075835.html