I want to write a program that communicates with your hid driver, but I am not sure about the report format. So I prefer to ask instead of to reverse engineer :)
So my findings so far, with questions:
hid report ID = 1 ( I guess )
hidreport = TipSwitch ? // what is it / does it take the whole byte
hidreport = InRange ? // what is it / does it take the whole byte
hidrepor[2,3] = X , hidreport[4,5] = Y // what units, pixels?
hidreport[6,7] = Pressure. what units, min, max
hidreport[8,9] = Width, hidreport[10,11] = Height // what are these, what is minor, major axis, units, etc. ?
hidreport[12,13] = Id // what is it
Do I have to send the timestamp also? Where is its place in the buffer? What units, milliseconds?
I would appreciate any help, thanks!
some days ago I'v met the same problems just like you . I read microsoft white paper. then I find the answer .
visit this web .
and I have another problem . I don't know how to associate HID report with TUIO protocol. As you know, HID report can tell PC the meaning of the data from USB interface. however , after I read the HID report
specfication , there is just X,Y axis position parameter . there is no parameter to show just like angle metioned in TUIO protocal. how does microsoft realize the multi touch ? Do they not use TUIO protocol.
any reply will be appreciatd!