On 10.02.2012 16:47, Roman Haefeli wrote:
On Fri, 2012-02-10 at 15:48 +0100, u...@xdv.org wrote:
to answer my question:
i changed onoff  from int to float and it works such that i can turn
reports on and off.

it still crashes a lot though ...
well, seems like i should go for supercollider/osc. or is there another
wii external for linux?
Yeah, there is also [disis_wiimote] [1] from the L2ork project.

Since the the wiimote external you were trying is the one that is also
included in Debian as pd-wiimote, I think it's worth focusing on fixing
this one, since a lot of people would potentially benefit from it. Could
you provide a patch for your fix?
there you go.
but i'm still wondering a bit, why that wouldn't affect everyone else too. 64bit?
i'll try disis_wiimote and file a bug report for wiimote with debian. :)

thanks+ciao,
ub
diff -Naur _wiimote-0.3.2//wiimote.c wiimote-0.3.2//wiimote.c
--- _wiimote-0.3.2//wiimote.c 2012-02-10 17:04:46.780104070 +0000
+++ wiimote-0.3.2//wiimote.c  2012-02-10 16:57:29.670104117 +0000
@@ -824,7 +824,7 @@
 }
 
 
-static void wiimote_report(t_wiimote*x, t_symbol*s, int onoff)
+static void wiimote_report(t_wiimote*x, t_symbol*s, float onoff)
 {
   int flag=-1;
   if(gensym("status")==s) flag=CWIID_RPT_STATUS;

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to