View Single Post
Old 11-27-2012, 04:19 AM   #3
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,748
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623
Thanks! The 1.1a release of the SDK doesn't include the definition of iv_mtinfo. Does it look like this?:

Code:
typedef struct iv_mtinfo_s {
  int x;
  int y;
} iv_mtinfo;
or are short variables used instead of int, perhaps? Are there any other variables in the struct?

Also, will par2 (touch count) only ever be 1 or 2, or can there be more than that (for example, if three fingers are used)? I assume that the iv_mtinfo array only includes points from a single point in time, and not from multiple points concatenated together.

Finally, does par1 mean anything in EVT_MYSYNC events?

Oops, one more question: should the iv_mtinfo array returned by GetTouchInfo() be freed?

Last edited by rkomar; 11-27-2012 at 03:33 PM. Reason: Added another question
rkomar is online now   Reply With Quote