From de38c70d5f9bd92f74615bc4c6c8607ab3b7f118 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Mon, 13 Dec 2010 13:55:00 +0000 Subject: added META subpatch and fixed a bunch of broken connections svn path=/trunk/externals/hid/; revision=14625 --- hid_centered-help.pd | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'hid_centered-help.pd') diff --git a/hid_centered-help.pd b/hid_centered-help.pd index 9dad015..0dfc327 100644 --- a/hid_centered-help.pd +++ b/hid_centered-help.pd @@ -1,22 +1,21 @@ -#N canvas 389 382 468 357 10; -#X declare -lib hid; +#N canvas 0 31 468 398 10; #X obj 5 2 cnv 15 450 20 empty empty hid_centered 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp; +#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 334 released under the GNU GPL; #X text 98 291 For more info:; - #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 +#X obj 137 105 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1; #X msg 200 138 open \$1; #X obj 200 118 hradio 15 1 1 8 \$0-device-number empty choose_a_device -0 -6 1 9 -262144 -1 -1 3; +0 -6 1 9 -262144 -1 -1 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; +0 -6 0 14 -166441 -1 -1 0 256; +#X obj 137 170 joystick 0; #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 - -; @@ -26,12 +25,18 @@ 1" so that 0 is the center point of the range. With a joystick \, for example \, this can make the center point of the joystick (0 \, 0) rather than (0.5 \, 0.5).; -#X connect 6 0 14 0; -#X connect 7 0 11 0; -#X connect 8 0 11 0; -#X connect 9 0 8 0; -#X connect 11 0 16 0; -#X connect 11 1 15 0; -#X connect 12 0 13 0; -#X connect 15 0 12 0; -#X connect 16 0 6 0; +#N canvas 478 206 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 35 LICENSE GPL; +#X text 12 85 INLET_0 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 AUTHOR Hans-Christoph Steiner; +#X text 12 55 DESCRIPTION convert the standard "0 to 1" [hid] format +to "-1 to 1" so that 0 is the center point of the range; +#X text 12 5 KEYWORDS control conversion abstraction needs_work (connections) +; +#X restore 408 368 pd META; +#X connect 6 0 10 0; +#X connect 7 0 10 0; +#X connect 8 0 7 0; -- cgit v1.2.1