-
-
Save pysco68/e6d1fb0cc68be39aec794967505e0982 to your computer and use it in GitHub Desktop.
Waveshare HID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] Report ID (0x01, definded in the descriptor) | |
[1] State | |
.......x: Tip switch | |
xxxxxxx.: Ignored | |
[2] Contact identifier | |
[3] Pressure (0 - 255) | |
[4] X coordinate LSB (0 - 800) | |
[5] X coordinate MSB | |
[6] Y coordinate LSB (0 - 480) | |
[7] Y coordinate MSB | |
[8] Scan time LSB (0 - 65535) | |
[9] Scan time MSB | |
[10] Contact count (for serial hybrid reports / fill in 1st report per frame with the number of reports to come, then 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Report 1: 0x01, 0x01, 0x00, 0x30, 0xff, 0x00, 0x68, 0x00, 0xf3, 0x31, 0x02 | |
Report 2: 0x01, 0x01, 0x01, 0x22, 0x1c, 0x02, 0x23, 0x00, 0xf3, 0x31, 0x00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment