Update of /cvsroot/pure-data/externals/hcs/hid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8704
Modified Files: joystick-help.pd Log Message: cleaned up and commented
Index: joystick-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/hid/joystick-help.pd,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** joystick-help.pd 28 Nov 2004 23:57:26 -0000 1.7 --- joystick-help.pd 4 Dec 2004 18:04:34 -0000 1.8 *************** *** 1,4 **** ! #N canvas 526 230 658 456 10; ! #X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 ; #X floatatom 63 234 7 0 0 3 Y-axis - -; --- 1,4 ---- ! #N canvas 248 419 666 464 10; ! #X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 ; #X floatatom 63 234 7 0 0 3 Y-axis - -; *************** *** 46,50 **** #X msg 225 131 open 5; #X obj 168 154 joystick 0; ! #N canvas 674 327 430 481 joystick_noise 0; #X obj 73 25 inlet; #X obj 219 426 dac~; --- 46,50 ---- #X msg 225 131 open 5; #X obj 168 154 joystick 0; ! #N canvas 674 327 446 497 joystick_noise 0; #X obj 73 25 inlet; #X obj 219 426 dac~; *************** *** 98,111 **** #X connect 21 0 20 0; #X connect 22 0 5 0; ! #X restore 440 167 pd joystick_noise; ! #X obj 440 104 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 ! 1; ! #X text 333 85 Select your device and turn on to make noise:; #X obj 619 3 pddp; ! #X msg 503 137 open $1; ! #X obj 503 117 hradio 15 1 1 8 $0-device-number empty choose_a_device ! 0 -6 1 9 -262144 -1 -1 3; ! #X obj 477 117 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty ! 0 -6 0 14 -166441 -1 -1 3 256; #X text 8 36 Use a joystick device with Pd. This object auto-calibrates the output of axis data. Move each element of the device thru its full --- 98,111 ---- #X connect 21 0 20 0; #X connect 22 0 5 0; ! #X restore 440 155 pd joystick_noise; ! #X obj 440 92 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 ! ; ! #X text 333 73 Select your device and turn on to make noise:; #X obj 619 3 pddp; ! #X msg 503 125 open $1; ! #X obj 503 105 hradio 15 1 1 8 $0-device-number empty choose_a_device ! 0 -6 1 9 -262144 -1 -1 0; ! #X obj 477 105 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty ! 0 -6 0 14 -166441 -1 -1 0 256; #X text 8 36 Use a joystick device with Pd. This object auto-calibrates the output of axis data. Move each element of the device thru its full *************** *** 113,116 **** --- 113,119 ---- #X obj 335 215 unpack s f; #X obj 339 375 all_about_hid_mapping; + #X text 422 177 (remember to calibrate all parts; + #X text 430 190 of the joystick first); + #X msg 394 120 print; #X connect 0 0 31 0; #X connect 19 0 31 0; *************** *** 140,141 **** --- 143,145 ---- #X connect 40 0 15 0; #X connect 40 1 16 0; + #X connect 44 0 32 0;