[PD-cvs] SF.net SVN: pure-data: [9931] trunk/externals/io/aka.wiiremote

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Wed May 28 12:49:35 CEST 2008


Revision: 9931
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9931&view=rev
Author:   eighthave
Date:     2008-05-28 03:49:34 -0700 (Wed, 28 May 2008)

Log Message:
-----------
changed classname to akawiiremote so that I don't have to deal with the hexloader

Modified Paths:
--------------
    trunk/externals/io/aka.wiiremote/aka.wiiremote-help.pd
    trunk/externals/io/aka.wiiremote/aka.wiiremote.c

Modified: trunk/externals/io/aka.wiiremote/aka.wiiremote-help.pd
===================================================================
--- trunk/externals/io/aka.wiiremote/aka.wiiremote-help.pd	2008-05-27 21:22:50 UTC (rev 9930)
+++ trunk/externals/io/aka.wiiremote/aka.wiiremote-help.pd	2008-05-28 10:49:34 UTC (rev 9931)
@@ -49,33 +49,32 @@
 #X obj 631 536 dac~;
 #X obj 632 408 pddp/dsp;
 #X obj 640 500 osc~ 100;
-#X obj 154 513 aka.wiiremote;
-#X obj 303 388 aka.wiiremote;
-#X connect 0 0 35 0;
-#X connect 1 0 35 0;
+#X obj 303 388 akawiiremote;
+#X connect 0 0 34 0;
+#X connect 1 0 34 0;
 #X connect 2 0 22 0;
 #X connect 3 0 21 0;
-#X connect 4 0 35 0;
+#X connect 4 0 34 0;
 #X connect 5 0 4 0;
-#X connect 6 0 35 0;
+#X connect 6 0 34 0;
 #X connect 13 0 19 0;
 #X connect 13 1 17 0;
-#X connect 14 0 35 0;
-#X connect 15 0 35 0;
-#X connect 16 0 35 0;
+#X connect 14 0 34 0;
+#X connect 15 0 34 0;
+#X connect 16 0 34 0;
 #X connect 19 0 12 0;
 #X connect 19 1 11 0;
 #X connect 19 2 20 0;
-#X connect 21 0 35 0;
-#X connect 22 0 35 0;
+#X connect 21 0 34 0;
+#X connect 22 0 34 0;
 #X connect 23 0 24 0;
-#X connect 24 0 35 0;
+#X connect 24 0 34 0;
 #X connect 25 0 26 0;
-#X connect 26 0 35 0;
+#X connect 26 0 34 0;
 #X connect 27 0 28 0;
-#X connect 28 0 35 0;
-#X connect 30 0 35 0;
+#X connect 28 0 34 0;
+#X connect 30 0 34 0;
 #X connect 33 0 31 0;
 #X connect 33 0 31 1;
-#X connect 35 0 18 0;
-#X connect 35 1 13 0;
+#X connect 34 0 18 0;
+#X connect 34 1 13 0;

Modified: trunk/externals/io/aka.wiiremote/aka.wiiremote.c
===================================================================
--- trunk/externals/io/aka.wiiremote/aka.wiiremote.c	2008-05-27 21:22:50 UTC (rev 9930)
+++ trunk/externals/io/aka.wiiremote/aka.wiiremote.c	2008-05-28 10:49:34 UTC (rev 9931)
@@ -81,7 +81,7 @@
 char	classicStr[] = "classic";
 
 #ifdef PD
-void setup_aka0x2ewiiremote()
+void akawiiremote_setup()
 #else /* Max */
 void main()
 #endif /* PD */
@@ -108,7 +108,7 @@
 #ifdef PD
 	post("\tPd port by Hans-Christoph Steiner");
 
-	akawiiremote_class = class_new(gensym("aka.wiiremote"), 
+	akawiiremote_class = class_new(gensym("akawiiremote"), 
 								 (t_newmethod)akawiiremote_new, 
 								 (t_method)akawiiremote_free,
 								 sizeof(t_akawiiremote),
@@ -597,10 +597,10 @@
         atom_string(av, x->address, MAXPDSTRING-1);
 
     IOReturn result = kIOReturnSuccess;
-    mach_port_t masterPort = NULL;
+    mach_port_t masterPort = (mach_port_t) NULL;
     result = IOMasterPort (bootstrap_port, &masterPort);
     if (kIOReturnSuccess != result)
-        pd_error("IOMasterPort error with bootstrap_port, error %d", result);
+        pd_error(x, "[akawiiremote] IOMasterPort error with bootstrap_port, error %d", result);
     else
     {
 		// Create a notification port and add its run loop event source to our run loop


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list