BrianPeek.com
A Compendium of Random Uselessness

SetReportType continuous parameter not working?

rated by 0 users
This post has 1 Reply | 0 Followers

Posted: Mon, May 11 2009 1:05 PM

Hello,

I want

void wm_WiimoteChanged(object sender, WiimoteChangedEventArgs args)
only to be called, if the coordinates of IR points really change, so I'm using the following code:
wm.SetReportType(InputReport.IRAccel, false); //last parameter = bool continuous

However it seems to make no difference, whether I set continuous false or true?
Or does this parameter mean something else?

 

Thanks!

 

 

 

 

 

Top 10 Contributor
Male
Posts 1,335

It's a parameter that's handled at the Wiimote side, so you're at its mercy as to whether it actually listens.  In this case, the accelerometers, buttons and IR point would need to remain identical for it to not send you a new report.  Or at least that's what the Wiimote is supposed to do...

Page 1 of 1 (2 items) | RSS