Update of /cvsroot/pure-data/externals/io/hidio In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12738/io/hidio
Modified Files: hidio-help.pd hidio.c Log Message: found the stupid typo, it now works on Mac OS X, and is included in the linux and darwin auto-build
Index: hidio-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/io/hidio/hidio-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hidio-help.pd 30 Nov 2006 05:53:40 -0000 1.1 --- hidio-help.pd 30 Nov 2006 06:14:59 -0000 1.2 *************** *** 1,3 **** ! #N canvas 157 38 921 595 10; #X floatatom 27 439 5 0 0 0 - - -; #X floatatom 83 439 5 0 0 0 - - -; --- 1,3 ---- ! #N canvas 157 38 925 599 10; #X floatatom 27 439 5 0 0 0 - - -; #X floatatom 83 439 5 0 0 0 - - -;
Index: hidio.c =================================================================== RCS file: /cvsroot/pure-data/externals/io/hidio/hidio.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** hidio.c 30 Nov 2006 05:53:40 -0000 1.1 --- hidio.c 30 Nov 2006 06:14:59 -0000 1.2 *************** *** 36,41 **** */
! //#define DEBUG(x) ! #define DEBUG(x) x
unsigned short global_debug_level = 0; --- 36,41 ---- */
! #define DEBUG(x) ! //#define DEBUG(x) x
unsigned short global_debug_level = 0; *************** *** 410,414 **** static void *hidio_new(t_symbol *s, int argc, t_atom *argv) { - DEBUG(post("hidio_new");); t_hidio *x = (t_hidio *)pd_new(hidio_class); unsigned int i; --- 410,413 ---- *************** *** 444,448 **** void hidio_setup(void) { ! hidio_class = class_new(gensym("hidin"), (t_newmethod)hidio_new, (t_method)hidio_free, --- 443,447 ---- void hidio_setup(void) { ! hidio_class = class_new(gensym("hidio"), (t_newmethod)hidio_new, (t_method)hidio_free, *************** *** 457,461 **** /* add inlet message methods */ ! /* class_addmethod(hidio_class,(t_method) hidio_debug,gensym("debug"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_build_device_list,gensym("refresh"),0); class_addmethod(hidio_class,(t_method) hidio_print,gensym("print"),0); --- 456,460 ---- /* add inlet message methods */ ! class_addmethod(hidio_class,(t_method) hidio_debug,gensym("debug"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_build_device_list,gensym("refresh"),0); class_addmethod(hidio_class,(t_method) hidio_print,gensym("print"),0); *************** *** 465,469 **** class_addmethod(hidio_class,(t_method) hidio_poll,gensym("poll"),A_DEFFLOAT,0); /* force feedback messages */ ! /* class_addmethod(hidio_class,(t_method) hidio_ff_autocenter, gensym("ff_autocenter"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_ff_gain,gensym("ff_gain"),A_DEFFLOAT,0); --- 464,468 ---- class_addmethod(hidio_class,(t_method) hidio_poll,gensym("poll"),A_DEFFLOAT,0); /* force feedback messages */ ! class_addmethod(hidio_class,(t_method) hidio_ff_autocenter, gensym("ff_autocenter"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_ff_gain,gensym("ff_gain"),A_DEFFLOAT,0); *************** *** 474,485 **** class_addmethod(hidio_class,(t_method) hidio_ff_stopall,gensym("ff_stopall"),0); /* ff tests */ ! /* class_addmethod(hidio_class,(t_method) hidio_ff_fftest,gensym("fftest"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_ff_print,gensym("ff_print"),0); ! */
post("[hidio] %d.%d, written by Hans-Christoph Steiner hans@eds.org", HIDIO_MAJOR_VERSION, HIDIO_MINOR_VERSION); post("\tcompiled on "__DATE__" at "__TIME__ " "); - post("arg!!!!!!"); }
--- 473,483 ---- class_addmethod(hidio_class,(t_method) hidio_ff_stopall,gensym("ff_stopall"),0); /* ff tests */ ! class_addmethod(hidio_class,(t_method) hidio_ff_fftest,gensym("fftest"),A_DEFFLOAT,0); class_addmethod(hidio_class,(t_method) hidio_ff_print,gensym("ff_print"),0); !
post("[hidio] %d.%d, written by Hans-Christoph Steiner hans@eds.org", HIDIO_MAJOR_VERSION, HIDIO_MINOR_VERSION); post("\tcompiled on "__DATE__" at "__TIME__ " "); }