HI,
I would like to write a C++ code for detecting a touch on touchpad. Which programming tool is the best? Directinput, DDK, or some other ways. I'm now using Directinput. However, I can't solve the problem of "setdataformat". May be I don't the data format of the touchpad? May be my create device in a wrong way. Would you mind to give me some guide and tips? If Directinput is not a right tool, what should I use? Is there any other easy way?

Thank you
Ken Law