Revision: 10077 http://pure-data.svn.sourceforge.net/pure-data/?rev=10077&view=rev Author: eighthave Date: 2008-06-23 09:46:32 -0700 (Mon, 23 Jun 2008)
Log Message: ----------- QA'ed [hid] docs and switched to using namespace prefixes to make sure everything loads and to prevent conflicts with 'mapping' objects
Modified Paths: -------------- branches/pd-extended/v0-40/externals/hcs/hid/doc/deg2hid-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2deg-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2rad-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_average-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_centered-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cube-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cuberoot-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_exp-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_graph-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_invert-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_log-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_lowpass-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2four-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2three-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2two-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_polar-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_rel2abs-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_smooth-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_spiral-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_square-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_squareroot-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/joystick-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/keyboard-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/mouse-help.pd branches/pd-extended/v0-40/externals/hcs/hid/doc/rad2hid-help.pd branches/pd-extended/v0-40/externals/hcs/hid/examples/polar-joystick.pd branches/pd-extended/v0-40/externals/hcs/hid/examples/spiral-joystick.pd branches/pd-extended/v0-40/externals/hcs/hid/joystick.pd branches/pd-extended/v0-40/externals/hcs/hid/mouse.pd
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/deg2hid-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/deg2hid-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/deg2hid-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -9,7 +9,7 @@ #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X text 300 168 related objects:; -#X obj 333 184 rad2hid; +#X obj 333 184 hid/rad2hid; #X floatatom 56 203 7 0 0 1 - - -; #X obj 59 103 hsl 300 15 -720 720 0 0 empty empty degrees 6 7 1 10 -262131 -1 -1 3100 0; @@ -17,9 +17,9 @@ #X text 26 34 This object converts numbers from the [hid] range (0 to 1) to radians (-pi to pi) with the 0's lining up in the same place. ; -#X obj 274 184 hid2rad; -#X obj 392 184 hid2deg; -#X obj 56 168 deg2hid; +#X obj 274 184 hid/hid2rad; +#X obj 392 184 hid/hid2deg; +#X obj 56 168 hid/deg2hid; #X connect 9 0 10 0; #X connect 9 0 14 0; #X connect 14 0 8 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2deg-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2deg-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2deg-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -9,14 +9,14 @@ #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X text 300 168 related objects:; -#X obj 333 184 rad2hid; -#X obj 392 184 deg2hid; +#X obj 333 184 hid/rad2hid; +#X obj 392 184 hid/deg2hid; #X floatatom 69 185 7 0 0 1 degrees - -; #X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 -1 500 0; #X floatatom 95 115 5 0 0 0 - - -; -#X obj 274 184 hid2rad; -#X obj 69 150 hid2deg; +#X obj 274 184 hid/hid2rad; +#X obj 69 150 hid/hid2deg; #X text 26 34 This object converts numbers from the [hid] range (0 to 1) to degrees (0 to 360) with the 0 being north.; #X connect 10 0 11 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2rad-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2rad-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid2rad-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -9,10 +9,10 @@ #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X text 300 168 related objects:; -#X obj 273 184 rad2hid; -#X obj 332 184 deg2hid; -#X obj 391 184 hid2deg; -#X obj 69 150 hid2rad; +#X obj 273 184 hid/rad2hid; +#X obj 332 184 hid/deg2hid; +#X obj 391 184 hid/hid2deg; +#X obj 69 150 hid/hid2rad; #X floatatom 69 185 9 0 0 1 radians - -; #X obj 72 85 hsl 128 15 0 1 0 0 empty empty hid 6 7 1 10 -262131 -1 -1 0 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_average-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_average-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_average-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -18,7 +18,7 @@ #X obj 5 2 cnv 15 450 20 empty empty [hid_average] 2 11 1 18 -233017 -66577 0; #X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X obj 101 221 hid_average; +#X obj 101 221 hid/hid_average; #X text 18 36 Smooths a stream of numbers using weighted averaging. By default , the average is the last 10 values. You can set this using the right inlet.;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_centered-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_centered-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_centered-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -8,7 +8,7 @@ #X text 244 334 released under the GNU GPL; #X text 98 291 For more info:; #X obj 202 289 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping; -#X obj 102 234 hid_centered; +#X obj 102 234 hid/hid_centered; #X obj 137 105 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1; #X msg 200 138 open $1; @@ -17,7 +17,7 @@ #X obj 174 118 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty 0 -6 0 14 -166441 -1 -1 3 256; #X obj 157 170 joystick 0; -#X obj 205 235 hid_centered; +#X obj 205 235 hid/hid_centered; #X floatatom 205 256 5 0 0 0 Y - -; #X floatatom 102 255 5 0 0 0 X - -; #X floatatom 205 216 5 0 0 0 Y - -;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cube-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cube-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cube-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_cube; +#X obj 25 153 hid/hid_cube; #X text 15 34 This object maps the input range to a cube curve , i.e. [pow 3] or "X to power of 3".; #N canvas 0 22 450 300 graph1 0; @@ -35,7 +35,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_cube; +#X obj 56 233 hid/hid_cube; #X obj 56 283 tabwrite hid_cube; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cuberoot-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cuberoot-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_cuberoot-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_cuberoot; +#X obj 25 153 hid/hid_cuberoot; #N canvas 0 22 450 300 graph1 0; #X array hid_cuberoot 100 float 0; #X coords 0 1 99 0 100 100 1; @@ -33,7 +33,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_cuberoot; +#X obj 56 233 hid/hid_cuberoot; #X obj 56 283 tabwrite hid_cuberoot; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_exp-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_exp-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_exp-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_exp; +#X obj 25 153 hid/hid_exp; #N canvas 0 22 450 300 graph1 0; #X array hid_exp 100 float 0; #X coords 0 1 99 0 100 100 1; @@ -33,7 +33,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_exp; +#X obj 56 233 hid/hid_exp; #X obj 56 283 tabwrite hid_exp; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_graph-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_graph-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_graph-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -15,7 +15,7 @@ -1 -1 0 1; #X obj 98 143 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 94 187 hid_graph; +#X obj 94 187 hid/hid_graph; #X text 18 33 This object allows you to draw an arbitrary curve , which is then applied to the input range. To change the curve , click anywhere on the black diagonal line and start dragging.;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_invert-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_invert-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_invert-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -8,7 +8,7 @@ #X text 244 284 released under the GNU GPL; #X floatatom 153 90 5 0 0 0 - - -; #X floatatom 153 166 5 0 0 0 - - -; -#X obj 153 126 hid_invert; +#X obj 153 126 hid/hid_invert; #X obj 156 71 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 156 183 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_log-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_log-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_log-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_log; +#X obj 25 153 hid/hid_log; #N canvas 0 22 450 300 graph1 0; #X array hid_log 100 float 0; #X coords 0 1 99 0 100 100 1; @@ -33,7 +33,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_log; +#X obj 56 233 hid/hid_log; #X obj 56 283 tabwrite hid_log; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_lowpass-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_lowpass-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_lowpass-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -10,7 +10,7 @@ #X floatatom 101 255 5 0 0 0 - - -; #X text 98 312 For more info:; #X obj 202 310 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping; -#X obj 101 225 hid_lowpass; +#X obj 101 225 hid/hid_lowpass; #X obj 193 198 hsl 75 18 1 100 1 1 empty empty refresh(Hz) 4 9 1 12 -228992 -1 -1 3700 0; #X floatatom 189 227 5 0 0 0 - - -;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2four-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2four-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2four-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -17,7 +17,7 @@ #X text 18 28 Simple one-to-three mapping object. The first inlet is passed thru , the range of the output data on the other inlet starts at the points in the input range specified as arugments.; -#X obj 82 145 hid_one2four 0.3 0.6 0.9; +#X obj 82 145 hid/hid_one2four 0.3 0.6 0.9; #X floatatom 113 186 5 0 0 0 - - -; #X obj 116 203 hsl 75 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2three-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2three-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2three-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -17,7 +17,7 @@ #X floatatom 173 186 5 0 0 0 - - -; #X obj 176 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; -#X obj 153 145 hid_one2three 0.3 0.7; +#X obj 153 145 hid/hid_one2three 0.3 0.7; #X floatatom 323 186 5 0 0 0 - - -; #X obj 326 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2two-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2two-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_one2two-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -20,7 +20,7 @@ #X text 18 28 Simple one-to-two mapping object. The first inlet is passed thru , the range of the output data on the second inlet starts at the point in the input range specified as an arugment.; -#X obj 153 145 hid_one2two 0.3; +#X obj 153 145 hid/hid_one2two 0.3; #X connect 4 0 13 0; #X connect 5 0 7 0; #X connect 6 0 4 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_polar-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_polar-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_polar-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -8,7 +8,7 @@ #X floatatom 100 335 7 0 0 0 radius-> - -; #X text 124 370 For more info:; #X obj 228 368 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping; -#X obj 100 295 hid_polar; +#X obj 100 295 hid/hid_polar; #X text 27 397 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X obj 101 161 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280 @@ -26,9 +26,9 @@ #X text 17 29 Converts cartesian coordinates(x , y) to polar coordinates (radius , angle). The angle is in radians (-pi to pi). The angle 0 is at cartesian (1 , 0.5) or to the right.; -#X obj 361 293 hid_spiral; -#X obj 245 293 hid2rad; -#X obj 303 293 hid2deg; +#X obj 361 293 hid/hid_spiral; +#X obj 245 293 hid/hid2rad; +#X obj 303 293 hid/hid2deg; #X connect 3 0 7 0; #X connect 7 0 4 0; #X connect 7 1 11 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_rel2abs-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_rel2abs-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_rel2abs-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -17,8 +17,8 @@ #X floatatom 153 207 5 0 0 0 - - -; #X floatatom 252 208 5 0 0 0 - - -; #X floatatom 211 208 5 0 0 0 - - -; -#X obj 252 174 hid_rel2abs 0 100; -#X obj 73 175 hid_rel2abs -10 10; +#X obj 252 174 hid/hid_rel2abs 0 100; +#X obj 73 175 hid/hid_rel2abs -10 10; #X text 98 240 For more info:; #X obj 202 238 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping; #X msg 73 129 reset;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_smooth-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_smooth-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_smooth-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -15,7 +15,7 @@ #X obj 5 2 cnv 15 450 20 empty empty [hid_smooth] 2 11 1 18 -233017 -66577 0; #X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X obj 102 221 hid_smooth; +#X obj 102 221 hid/hid_smooth; #X text 18 36 Smooths a stream of numbers using weighted averaging of the last 10 values. This object is an shortcut for [hid_average] with the default settings.;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_spiral-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_spiral-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_spiral-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -21,9 +21,9 @@ #X msg 69 126 0.5; #X text 15 126 center:; #X obj 323 324 spiral-joystick; -#X obj 70 335 hid_spiral; +#X obj 70 335 hid/hid_spiral; #X obj 279 406 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping; -#X obj 362 271 hid_polar; +#X obj 362 271 hid/hid_polar; #X text 24 32 Converts cartesian coordinates(x , y) to spiral in polar coordinates (radius , angle). The angle is from 0 to 1 The angle 0 is at cartesian (1 , 0) or far right center.;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_square-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_square-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_square-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_square; +#X obj 25 153 hid/hid_square; #N canvas 0 22 450 300 graph1 0; #X array hid_square 100 float 0; #X coords 0 1 99 0 100 100 1; @@ -33,7 +33,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_square; +#X obj 56 233 hid/hid_square; #X obj 56 283 tabwrite hid_square; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_squareroot-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_squareroot-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/hid_squareroot-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,7 +14,7 @@ -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; -#X obj 25 153 hid_squareroot; +#X obj 25 153 hid/hid_squareroot; #N canvas 0 22 450 300 graph1 0; #X array hid_squareroot 100 float 0; #X coords 0 1 99 0 100 100 1; @@ -33,7 +33,7 @@ #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 [hid] output range: 0 to 1; -#X obj 56 233 hid_squareroot; +#X obj 56 233 hid/hid_squareroot; #X obj 56 283 tabwrite hid_squareroot; #X connect 0 0 1 0; #X connect 1 0 3 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/joystick-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/joystick-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/joystick-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -49,22 +49,22 @@ #X obj 219 426 dac~; #X obj 168 376 *~; #X obj 201 398 linearpan~; -#X obj 70 168 hid_invert; +#X obj 70 168 hid/hid_invert; #X obj 70 242 mtof; #X obj 168 313 osc~; #X msg 57 88 ; pd dsp $1; -#X obj 70 193 hid_squareroot; +#X obj 70 193 hid/hid_squareroot; #X obj 287 11 inlet; -#X obj 203 323 hid_log; +#X obj 203 323 hid/hid_log; #X obj 180 65 joystick 0; #X obj 168 287 +~; #X obj 238 212 *~; #X obj 238 179 osc~; #X obj 304 143 * 300; #X obj 238 143 * 200; -#X obj 304 123 hid_square; +#X obj 304 123 hid/hid_square; #X obj 304 179 +; -#X obj 238 123 hid_exp; +#X obj 238 123 hid/hid_exp; #X obj 203 360 line~; #X msg 203 342 $1 5; #X obj 70 218 notescale 40 80;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/keyboard-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/keyboard-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/keyboard-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -1,6 +1,5 @@ -#N canvas 109 184 567 478 10; -#X declare -lib hid; -#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 +#N canvas 499 42 567 478 10; +#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 ; #X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; @@ -10,17 +9,16 @@ #X text 239 238 buttons; #X obj 2 2 cnv 15 550 20 empty empty [keyboard] 2 11 1 18 -233017 -66577 0; -#X msg 215 93 open 1; +#X msg 204 93 open 1; #X text 1 432 (C) Copyright 2004 Hans-Christoph Steiner hans@at.or.at ; #X text 218 446 released under the GNU GPL; #X text 414 446 $Author: eighthave $; #X text 414 433 $Revision: 1.4 $; -#X obj 348 402 pddp/pddplink ../all_about_hid.pd -text all_about_hid; +#X obj 348 402 pddp/pddplink ../all_about_hid.pd -text all_about_hid +; #X text 239 403 For more info:; -#X msg 220 112 open 3; -#X msg 225 131 open 5; -#X obj 168 154 keyboard 0; +#X msg 209 112 open 3; #X obj 32 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; #X obj 53 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 @@ -77,36 +75,70 @@ #X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11 key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21 key_22 key_23 key_24 key_25 key_26 key_27; -#X obj 519 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; -#X connect 0 0 16 0; +#X obj 519 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; +#X obj 168 174 hid/keyboard 0; +#X msg 109 123 print; +#N canvas 162 133 570 420 serin 0; +#X obj 286 61 cnv 15 30 15 empty $0-open-canvas 1 4 8 0 14 -233017 +-1 0; +#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1 +-1 1; +#X obj 60 13 inlet; +#X msg 200 202 label $1; +#X obj 200 180 makefilename %d; +#X obj 59 108 int; +#X obj 59 337 outlet; +#X msg 201 306 set $1 $2; +#X obj 59 266 trigger bang anything; +#X obj 201 286 list; +#X msg 60 210 open $1; +#X obj 200 225 send $0-open-canvas; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 11 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 5 0 10 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 8 1 9 0; +#X connect 9 0 7 0; +#X connect 10 0 8 0; +#X coords 0 -1 1 1 257 17 1 60 60; +#X restore 216 131 pd serin; +#X msg 216 152 open 1; +#X connect 0 0 42 0; #X connect 4 0 2 0; #X connect 4 1 3 0; -#X connect 7 0 16 0; -#X connect 14 0 16 0; -#X connect 15 0 16 0; -#X connect 16 0 4 0; -#X connect 16 0 42 0; -#X connect 42 0 1 0; -#X connect 42 1 17 0; -#X connect 42 2 18 0; -#X connect 42 3 19 0; -#X connect 42 4 20 0; -#X connect 42 5 21 0; -#X connect 42 6 22 0; -#X connect 42 7 23 0; -#X connect 42 8 24 0; -#X connect 42 9 25 0; -#X connect 42 10 26 0; -#X connect 42 11 27 0; -#X connect 42 12 28 0; -#X connect 42 13 29 0; -#X connect 42 14 30 0; -#X connect 42 15 31 0; -#X connect 42 16 32 0; -#X connect 42 17 33 0; -#X connect 42 18 34 0; -#X connect 42 19 35 0; -#X connect 42 20 36 0; -#X connect 42 21 37 0; -#X connect 42 22 38 0; -#X connect 42 23 39 0; +#X connect 7 0 42 0; +#X connect 14 0 42 0; +#X connect 40 0 1 0; +#X connect 40 1 15 0; +#X connect 40 2 16 0; +#X connect 40 3 17 0; +#X connect 40 4 18 0; +#X connect 40 5 19 0; +#X connect 40 6 20 0; +#X connect 40 7 21 0; +#X connect 40 8 22 0; +#X connect 40 9 23 0; +#X connect 40 10 24 0; +#X connect 40 11 25 0; +#X connect 40 12 26 0; +#X connect 40 13 27 0; +#X connect 40 14 28 0; +#X connect 40 15 29 0; +#X connect 40 16 30 0; +#X connect 40 17 31 0; +#X connect 40 18 32 0; +#X connect 40 19 33 0; +#X connect 40 20 34 0; +#X connect 40 21 35 0; +#X connect 40 22 36 0; +#X connect 40 23 37 0; +#X connect 42 0 4 0; +#X connect 42 0 40 0; +#X connect 43 0 42 0; +#X connect 44 0 45 0; +#X connect 45 0 42 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/mouse-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/mouse-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/mouse-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -1,5 +1,4 @@ -#N canvas 349 114 659 461 10; -#X declare -lib hid; +#N canvas 267 138 659 461 10; #X symbolatom 211 268 6 0 0 1 code - -; #X obj 130 106 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1; @@ -16,7 +15,7 @@ #X msg 175 83 open 0; #X msg 180 102 open 1; #X msg 185 121 open 2; -#N canvas 22 231 672 582 mouse-noise 1; +#N canvas 22 231 672 582 mouse-noise 0; #X obj 112 38 inlet; #X obj 210 324 noise~; #X obj 155 346 osc~; @@ -25,11 +24,11 @@ #X obj 110 510 dac~; #X obj 386 33 inlet; #X text 448 34 open msgs; -#X obj 138 169 mouse $1; +#X obj 138 169 hid/mouse $1; #X text 328 192 get button value only; #X obj 210 350 *~; #X obj 317 242 / 2; -#X obj 113 458 linearpan~; +#X obj 113 458 pan/linear_pan~; #X obj 289 439 line; #X msg 289 416 $1 20; #X obj 313 328 +; @@ -45,10 +44,10 @@ #X obj 296 301 int; #X obj 326 389 / 20; #X obj 155 297 mtof; -#X obj 155 213 hid_rel2abs 0 1; +#X obj 155 213 hid/hid_rel2abs 0 1; #X obj 155 233 - 1; #X floatatom 217 521 5 0 0 0 - - -; -#X obj 155 277 notescale 30 60; +#X obj 155 277 mapping/notescale 30 60; #X obj 179 410 loadbang; #X msg 177 433 0.5; #X obj 26 260 select 0; @@ -121,7 +120,8 @@ #X text 228 436 released under the GNU GPL; #X text 424 436 $Author: eighthave $; #X text 424 423 $Revision: 1.13 $; -#X obj 466 382 pddp/pddplink ../all_about_hid.pd -text all_about_hid; +#X obj 466 382 pddp/pddplink ../all_about_hid.pd -text all_about_hid +; #X text 357 383 For more info:; #X obj 601 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; @@ -132,8 +132,9 @@ in each axis to calibrate it.; #X text 13 111 turn on polling:; #X msg 180 146 refresh; -#X obj 130 171 mouse 0; -#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X obj 130 171 hid/mouse 0; +#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; #X msg 500 148 open $1; #X obj 500 128 hradio 15 1 1 8 $0-device-number empty choose_a_device 0 -6 1 9 -262144 -1 -1 4;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/doc/rad2hid-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/doc/rad2hid-help.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/doc/rad2hid-help.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -9,14 +9,14 @@ #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X text 300 168 related objects:; -#X obj 273 184 rad2hid; -#X obj 332 184 deg2hid; -#X obj 391 184 hid2deg; +#X obj 273 184 hid/rad2hid; +#X obj 332 184 hid/deg2hid; +#X obj 391 184 hid/hid2deg; #X floatatom 69 195 5 0 0 1 hid - -; #X obj 72 95 hsl 128 15 -3.14159 3.14159 0 0 empty empty radians 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 125 9 0 0 0 - - -; -#X obj 69 160 rad2hid; +#X obj 69 160 hid/rad2hid; #X text 21 35 This object converts numbers from radians (-pi to pi) to the [hid] range (0 to 1) with the 0's lining up in the same place. ;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/examples/polar-joystick.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/examples/polar-joystick.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/examples/polar-joystick.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -1,33 +1,33 @@ -#N canvas 628 147 472 478 10; +#N canvas 217 177 472 478 10; #X obj 163 119 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 1 1; #X msg 226 138 open $1; #X obj 226 118 hradio 15 1 1 8 $0-device-number empty choose_a_device -0 -6 1 9 -225271 -1 -1 3; +0 -6 1 9 -225271 -1 -1 0; #X obj 200 118 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty -0 -6 0 14 -166441 -1 -1 3 256; +0 -6 0 14 -166441 -1 -1 0 256; #X msg 112 119 print; -#X obj 201 288 mtof; -#X obj 201 308 osc~; -#X obj 142 345 *~; -#X obj 142 391 dac~; -#X obj 101 295 line~; -#X msg 101 273 $1 5; +#X obj 177 285 mtof; +#X obj 177 305 osc~; +#X obj 118 355 *~; +#X obj 118 401 dac~; +#X obj 77 305 line~; +#X msg 77 283 $1 5; #X text 25 38 This patch uses the angle of the joystick to control pitch and the distance from the centerpoint to control amplitude. The joystick Z/twist is mapped to pan.; -#X obj 142 369 pan~; +#X obj 118 379 pan/equal_power_pan~; #X text 254 444 released under the GNU GPL; #X text 40 429 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; #X text 14 9 polar_joystick; #X obj 164 172 hid/joystick 3; -#X obj 201 204 invert; -#X obj 291 11 import mapping; -#X obj 143 226 polar; -#X obj 101 254 hid/hid_cube; -#X obj 201 248 hid/hid_log; -#X obj 201 268 notescale 50 74; +#X obj 177 194 mapping/reverse; +#X obj 102 216 mapping/polar; +#X obj 77 264 hid/hid_cube; +#X obj 391 11 pddp/dsp; +#X obj 177 265 mapping/notescale 60 72; +#X obj 177 245 mapping/stepper; #X connect 0 0 16 0; #X connect 1 0 16 0; #X connect 2 0 1 0; @@ -39,12 +39,12 @@ #X connect 10 0 9 0; #X connect 12 0 8 0; #X connect 12 1 8 1; -#X connect 16 0 19 0; +#X connect 16 0 18 0; #X connect 16 1 17 0; #X connect 16 2 12 1; -#X connect 17 0 19 1; -#X connect 19 0 20 0; -#X connect 19 1 21 0; -#X connect 20 0 10 0; -#X connect 21 0 22 0; -#X connect 22 0 5 0; +#X connect 17 0 18 1; +#X connect 18 0 19 0; +#X connect 18 1 22 0; +#X connect 19 0 10 0; +#X connect 21 0 5 0; +#X connect 22 0 21 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/examples/spiral-joystick.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/examples/spiral-joystick.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/examples/spiral-joystick.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -1,52 +1,52 @@ -#N canvas 645 306 478 473 10; -#X obj 323 10 import mapping; +#N canvas 370 302 478 473 10; #X obj 134 99 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 1 1 ; -#X msg 196 118 open $1; -#X obj 196 98 hradio 15 1 1 8 $0-device-number empty choose_a_device -0 -6 1 9 -225271 -1 -1 3; -#X obj 170 98 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty -0 -6 0 14 -166441 -1 -1 3 256; +#X msg 216 118 open $1; +#X obj 216 98 hradio 15 1 1 8 $0-device-number empty choose_a_device +0 -6 1 9 -225271 -1 -1 0; +#X obj 190 98 nbx 1 14 -1e+37 1e+37 0 0 empty $0-device-number empty +0 -6 0 14 -166441 -1 -1 0 256; #X msg 81 99 print; -#X obj 165 282 osc~; -#X obj 98 345 *~; -#X obj 98 386 dac~; -#X obj 58 283 line~; -#X msg 58 261 $1 5; +#X obj 172 282 osc~; +#X obj 105 345 *~; +#X obj 105 389 dac~; +#X obj 65 283 line~; +#X msg 65 261 $1 5; #X text 25 32 This patch uses the angle of the joystick to control pitch and the distance from the centerpoint to control amplitude. The joystick Z/twist is mapped to pan.; -#X obj 98 366 pan~; +#X obj 105 366 pan/equal_power_pan~; #X text 254 432 released under the GNU GPL; #X text 40 417 (C) Copyright 2005 Hans-Christoph Steiner hans@at.or.at ; -#X obj 165 262 pow 3; -#X text 189 211 set 440 as start; -#X obj 165 241 + 7.60591; -#X text 187 223 (7.60591 ^ 3 = 440.001); +#X obj 172 262 pow 3; +#X text 196 211 set 440 as start; +#X obj 172 241 + 7.60591; +#X text 194 223 (7.60591 ^ 3 = 440.001); #X text 14 9 spiral_joystick; #X obj 134 142 hid/joystick 3; -#X obj 165 174 invert; -#X obj 100 198 spiral; -#X obj 58 242 hid/hid_cube; -#X floatatom 231 172 5 0 0 0 - - -; -#X connect 1 0 20 0; -#X connect 2 0 20 0; -#X connect 3 0 2 0; -#X connect 5 0 20 0; -#X connect 6 0 7 0; -#X connect 7 0 12 0; -#X connect 9 0 7 1; -#X connect 10 0 9 0; -#X connect 12 0 8 0; -#X connect 12 1 8 1; -#X connect 15 0 6 0; -#X connect 17 0 15 0; -#X connect 20 0 22 0; -#X connect 20 1 21 0; -#X connect 20 1 24 0; -#X connect 20 2 12 1; -#X connect 21 0 22 1; -#X connect 22 0 23 0; -#X connect 22 1 17 0; -#X connect 23 0 10 0; +#X obj 147 171 mapping/reverse; +#X obj 107 198 mapping/spiral; +#X obj 65 242 hid/hid_cube; +#X msg 167 118 print; +#X obj 389 10 pddp/dsp; +#X connect 0 0 19 0; +#X connect 1 0 19 0; +#X connect 2 0 1 0; +#X connect 4 0 19 0; +#X connect 5 0 6 0; +#X connect 6 0 11 0; +#X connect 8 0 6 1; +#X connect 9 0 8 0; +#X connect 11 0 7 0; +#X connect 11 1 7 1; +#X connect 14 0 5 0; +#X connect 16 0 14 0; +#X connect 19 0 21 0; +#X connect 19 1 20 0; +#X connect 19 2 11 1; +#X connect 20 0 21 1; +#X connect 21 0 22 0; +#X connect 21 1 16 0; +#X connect 22 0 9 0; +#X connect 23 0 19 0;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/joystick.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/joystick.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/joystick.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -26,10 +26,10 @@ #X text 367 388 throttle/slider; #X text 426 343 hat0x; #X text 496 319 hat0y; -#X obj 315 368 autoscale 0 1; -#X obj 249 409 autoscale 0 1; -#X obj 183 449 autoscale 0 1; -#X obj 118 489 autoscale 0 1; +#X obj 315 368 mapping/autoscale 0 1; +#X obj 249 409 mapping/autoscale 0 1; +#X obj 183 449 mapping/autoscale 0 1; +#X obj 118 489 mapping/autoscale 0 1; #X text 8 6 [joystick]; #X obj 159 139 route abs key ff; #X msg 23 300 reset;
Modified: branches/pd-extended/v0-40/externals/hcs/hid/mouse.pd =================================================================== --- branches/pd-extended/v0-40/externals/hcs/hid/mouse.pd 2008-06-23 15:58:06 UTC (rev 10076) +++ branches/pd-extended/v0-40/externals/hcs/hid/mouse.pd 2008-06-23 16:46:32 UTC (rev 10077) @@ -14,8 +14,8 @@ #X msg 257 84 open $1; #X obj 257 61 f $1; #X obj 257 37 loadbang; -#X obj 25 323 autoscale -1 1; -#X obj 179 323 autoscale -1 1; +#X obj 25 323 mapping/autoscale -1 1; +#X obj 179 323 mapping/autoscale -1 1; #X obj 137 288 route rel_x rel_y rel_wheel; #X obj 398 313 print MOUSE_UNIMPLEMENTED_EVENT; #X text 413 139 this is for once this feature is implemented;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.