Update of /cvsroot/pure-data/externals/hcs/hid/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32486/doc
Modified Files: hid-help.pd Log Message: On Mac OSX, replaced hid_get_device_by_number() by a global array of pointers, it should reduce the CPU load noticably. next I need to handle elements independently
Index: hid-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/hid/doc/hid-help.pd,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** hid-help.pd 27 May 2006 23:12:51 -0000 1.22 --- hid-help.pd 28 May 2006 20:13:58 -0000 1.23 *************** *** 1,9 **** ! #N canvas 54 47 924 649 10; ! #X msg 233 353 not_implemented notimp_64 -255; #X floatatom 27 484 5 0 0 0 - - -; #X floatatom 83 484 5 0 0 0 - - -; #X floatatom 63 440 6 0 0 0 - - -; ! #X obj 129 122 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25 ! ; #X floatatom 571 385 12 0 0 1 value - -; #X symbolatom 531 401 15 0 0 1 event_code - -; --- 1,9 ---- ! #N canvas 242 96 932 657 10; ! #X msg 233 353 abs abs_y 55; #X floatatom 27 484 5 0 0 0 - - -; #X floatatom 83 484 5 0 0 0 - - -; #X floatatom 63 440 6 0 0 0 - - -; ! #X obj 129 122 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 ! 25; #X floatatom 571 385 12 0 0 1 value - -; #X symbolatom 531 401 15 0 0 1 event_code - -; *************** *** 266,270 **** #X msg 203 68 open $1; #X obj 203 50 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 ! -1 0; #X floatatom 190 71 1 0 0 0 - - -; #X text 270 382 event_type event_code value; --- 266,270 ---- #X msg 203 68 open $1; #X obj 203 50 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 ! -1 2; #X floatatom 190 71 1 0 0 0 - - -; #X text 270 382 event_type event_code value; *************** *** 388,394 **** #X connect 2 0 0 0; #X connect 2 0 3 0; ! #X restore 494 323 pd see device info; #X msg 397 179 open 0x046d 0xc01d; #X text 535 179 Logitech USB-PS/2 Optical Mouse; #X connect 4 0 49 0; #X connect 23 0 24 1; --- 388,408 ---- #X connect 2 0 0 0; #X connect 2 0 3 0; ! #X restore 512 290 pd see device info; #X msg 397 179 open 0x046d 0xc01d; #X text 535 179 Logitech USB-PS/2 Optical Mouse; + #N canvas 0 22 458 308 test 1; + #X obj 60 23 inlet; + #X obj 61 53 route not_implemented; + #X obj 65 100 route notimp_64; + #X obj 165 138 print; + #X floatatom 69 146 5 0 0 0 - - -; + #X connect 0 0 1 0; + #X connect 1 0 2 0; + #X connect 2 0 4 0; + #X connect 2 1 3 0; + #X restore 490 330 pd test; + #X obj 36 63 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 + -1 0; + #X msg 45 83 open joystick $1; #X connect 4 0 49 0; #X connect 23 0 24 1; *************** *** 414,417 **** --- 428,432 ---- #X connect 49 0 59 0; #X connect 49 0 94 0; + #X connect 49 0 108 0; #X connect 49 1 105 0; #X connect 56 0 49 0; *************** *** 463,464 **** --- 478,481 ---- #X connect 104 0 49 0; #X connect 106 0 49 0; + #X connect 109 0 110 0; + #X connect 110 0 49 0;