I assumed that bytes 6 to 10 were the x coordinate and 10 to 14 were the y coordinate.
Mine I have had a little bit of success however I am not sure if am on the right path.įor each touch input I get tagRAWHID.dwSizeHid = 27 and tagRAWHID.dwCount = 1
What i get is a byte array (seems to be 27 bytes long). However I do not know how to interpret this data and get touch screen coordinates. I have been able to successfully register my device for Raw HID input notification and get back WM_INPUT messages when the screen is touched. I am trying to track touch screen interaction in my program (the device is Surface Pro 3).