![]() ![]() Github, its a code project sample that i modified to test out the HID touch input When i ran the code on my Surface Pro 3, the right edge x-coordinate was 629155200 but running the same code on 7" windows 10 Tab the right edge is 9. My remaining problem is how do I detect when the right edge has been touched. I feel this might be right becaue if I touch the left edge of the screen and drag till the very right edge, the x coordinate goes from 0 to 629155200 and vice versa. 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). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |