aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-27 16:22:01 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-27 16:22:01 +0000
commitb799d58c70fa84c89c5502b21287ed41d3d4e3dd (patch)
tree45878d3ca61be0d97b2b6dba95f1e913f1bc48e0
parentc12ed3a5343a4246efb4f064498c23894f6d8eeb (diff)
cleaned up help patches with the aim of making things more scannable
svn path=/trunk/externals/apple/; revision=12117
-rw-r--r--ambient_light_sensor-help.pd60
-rw-r--r--brightness-help.pd16
-rw-r--r--iodisplay-help.pd62
-rw-r--r--keyboard_light-help.pd20
-rw-r--r--sudden_motion_sensor-help.pd58
5 files changed, 75 insertions, 141 deletions
diff --git a/ambient_light_sensor-help.pd b/ambient_light_sensor-help.pd
index 068e740..576e446 100644
--- a/ambient_light_sensor-help.pd
+++ b/ambient_light_sensor-help.pd
@@ -1,51 +1,29 @@
-#N canvas 126 300 571 457 10;
-#X obj 4 398 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
-14 -228856 -66577 0;
+#N canvas 259 213 560 421 10;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header ambient_light_sensor
-3 12 0 18 -204280 -1 0;
+3 12 0 18 -241536 -1 0;
#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13
--228856 -1 0;
+-245500 -191407 0;
#N canvas 779 22 494 344 META 0;
#X text 12 25 KEYWORDS control number float store;
#X text 12 45 LICENSE GPL;
#X text 12 65 TEMPLATE template-help.pd v0.1;
#X text 12 85 PLATFORM windows macosx gnulinux;
#X text 12 105 DATATYPE float list;
-#X text 12 5 GENRE storage;
#X text 12 125 LIBRARY internal;
#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 165 RELEASE_DATE 2007-08-24;
#X text 12 185 RELEASE_VERSION 0.40-test05;
-#X restore 504 400 pd META;
+#X text 12 5 GENRE storage;
+#X restore 500 373 pd META;
#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0
-13 -228856 -1 0;
+13 -245500 -191407 0;
#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
-12 0 13 -228856 -1 0;
-#N canvas 309 454 609 478 guts 0;
-#X obj 117 95 textfile;
-#X msg 116 24 symbol template-HCS.pd;
-#X msg 116 54 read \$1 \, rewind \, bang;
-#X obj 117 141 trigger bang anything;
-#X obj 58 117 bang;
-#X obj 240 162 route #X;
-#X obj 240 183 route text;
-#X obj 240 250 route DESCRIPTION;
-#X obj 239 276 print;
-#X obj 140 277 print TEXT;
-#X connect 0 0 3 0;
-#X connect 1 0 2 0;
-#X connect 2 0 0 0;
-#X connect 3 0 4 0;
-#X connect 3 1 5 0;
-#X connect 4 0 0 0;
-#X connect 5 0 6 0;
-#X connect 7 0 8 0;
-#X restore 453 400 pd guts;
+12 0 13 -245500 -191407 0;
#X obj 374 6 pddp/pddplink http://wiki.puredata.info/en/apple/ambient_light_sensor
-text pdpedia: ambient_light_sensor;
#X obj 104 364 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/
;
-#X text 102 208 BANG - output current screen brightness;
+#X text 102 208 bang - output current screen brightness;
#X text 15 6 description: query the ambient light sensor in Apples
;
#X obj 389 -14 apple/ambient_light_sensor;
@@ -59,7 +37,7 @@
#X text 216 73 output info on right outlet;
#X obj 263 129 route sensor;
#X obj 73 73 metro 250;
-#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 1 1
+#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1
;
#X text 183 46 output sensor values;
#X text 102 227 "info" - outputs info about the sensor on the right
@@ -68,15 +46,15 @@ outlet;
-162280 0;
#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
-#X text 103 276 LIST - a list with the values of the left and right
+#X text 103 276 list - a list with the values of the left and right
sensors;
#X text 103 306 selector series with info about the sensor;
-#X connect 12 0 15 0;
-#X connect 12 1 20 0;
-#X connect 13 0 12 0;
-#X connect 14 0 12 0;
-#X connect 15 0 16 0;
-#X connect 15 1 17 0;
-#X connect 20 0 18 0;
-#X connect 21 0 12 0;
-#X connect 22 0 21 0;
+#X connect 10 0 13 0;
+#X connect 10 1 18 0;
+#X connect 11 0 10 0;
+#X connect 12 0 10 0;
+#X connect 13 0 14 0;
+#X connect 13 1 15 0;
+#X connect 18 0 16 0;
+#X connect 19 0 10 0;
+#X connect 20 0 19 0;
diff --git a/brightness-help.pd b/brightness-help.pd
index 2c1442c..7802a72 100644
--- a/brightness-help.pd
+++ b/brightness-help.pd
@@ -2,9 +2,9 @@
#X obj 4 428 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header brightness 3 12
-0 18 -204280 -1 0;
+0 18 -241536 -1 0;
#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13
--228856 -1 0;
+-245500 -191407 0;
#N canvas 779 22 494 344 META 0;
#X text 12 25 KEYWORDS control number float store;
#X text 12 45 LICENSE GPL;
@@ -18,11 +18,11 @@
#X text 12 185 RELEASE_VERSION 0.40-test05;
#X restore 504 430 pd META;
#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0
-13 -228856 -1 0;
+13 -245500 -191407 0;
#X obj 3 308 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12
-0 13 -228856 -1 0;
+0 13 -245500 -191407 0;
#X obj 3 368 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
-12 0 13 -228856 -1 0;
+12 0 13 -245500 -191407 0;
#N canvas 309 454 609 478 guts 0;
#X obj 117 95 textfile;
#X msg 116 24 symbol template-HCS.pd;
@@ -57,10 +57,10 @@
#X obj 426 -14 apple/brightness;
#X text 102 326 Accepts one float argument to set the screen brightness
(between 0 and 1);
-#X text 103 276 FLOAT - current screen brightness (between 0 and 1)
+#X text 103 276 float - current screen brightness (between 0 and 1)
;
-#X text 102 208 BANG - output current screen brightness;
-#X text 102 228 FLOAT - set the screen brightness (between 0 and 1)
+#X text 102 208 bang - output current screen brightness;
+#X text 102 228 float - set the screen brightness (between 0 and 1)
;
#X obj 197 122 apple/brightness;
#X connect 10 0 20 0;
diff --git a/iodisplay-help.pd b/iodisplay-help.pd
index e829a76..6a3c679 100644
--- a/iodisplay-help.pd
+++ b/iodisplay-help.pd
@@ -1,10 +1,8 @@
#N canvas 392 89 560 598 10;
-#X obj 4 547 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
-14 -228856 -66577 0;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header iodisplay 3 12
-0 18 -204280 -1 0;
+0 18 -241536 -1 0;
#X obj 3 179 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13
--228856 -1 0;
+-245500 -191407 0;
#N canvas 779 22 494 344 META 0;
#X text 12 25 KEYWORDS control number float store;
#X text 12 45 LICENSE GPL;
@@ -18,35 +16,15 @@
#X text 12 185 RELEASE_VERSION 0.40-test05;
#X restore 504 549 pd META;
#X obj 3 271 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0
-13 -228856 -1 0;
+13 -245500 -191407 0;
#X obj 3 321 cnv 3 550 3 empty \$0-pddp.cnv.argument argument 15 12
-0 13 -228856 -1 0;
+0 13 -245500 -191407 0;
#X obj 3 371 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
-12 0 13 -228856 -1 0;
+12 0 13 -245500 -191407 0;
#X obj 72 245 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
-162280 0;
#X obj 72 199 cnv 17 3 40 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
-#N canvas 309 454 609 478 guts 0;
-#X obj 117 95 textfile;
-#X msg 116 24 symbol template-HCS.pd;
-#X msg 116 54 read \$1 \, rewind \, bang;
-#X obj 117 141 trigger bang anything;
-#X obj 58 117 bang;
-#X obj 240 162 route #X;
-#X obj 240 183 route text;
-#X obj 240 250 route DESCRIPTION;
-#X obj 239 276 print;
-#X obj 140 277 print TEXT;
-#X connect 0 0 3 0;
-#X connect 1 0 2 0;
-#X connect 2 0 0 0;
-#X connect 3 0 4 0;
-#X connect 3 1 5 0;
-#X connect 4 0 0 0;
-#X connect 5 0 6 0;
-#X connect 7 0 8 0;
-#X restore 453 549 pd guts;
#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/apple/keyboard_light
-text pdpedia: keyboard_light;
#X obj 104 390 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/
@@ -60,14 +38,14 @@ Apple;
#X floatatom 116 82 5 0 0 0 - - -;
#X obj 81 140 pddp/print;
#X obj 81 107 iodisplay brightness;
-#X text 102 339 SYMBOL - name of the IODisplay parameter to control
+#X text 102 339 symbol - name of the IODisplay parameter to control
;
-#X text 103 289 FLOAT - value of the current IODisplay parameter;
-#X text 102 245 SYMBOL - name of the IODisplay parameter to control
+#X text 103 289 float - value of the current IODisplay parameter;
+#X text 102 245 symbol - name of the IODisplay parameter to control
;
-#X text 102 198 BANG - output the current IODisplay parameter level
+#X text 102 198 bang - output the current IODisplay parameter level
;
-#X text 102 218 FLOAT - set the current IODisplay parameter level;
+#X text 102 218 float - set the current IODisplay parameter level;
#X obj 103 411 pddp/pddplink http://darcs.brianweb.net/vendor/powerpc-apple-darwin/include/IOKit/graphics/IOGraphicsTypes.h
-text IOKit/graphics/IOGraphicsTypes.h;
#X text 14 430 Possible IODisplay parameters:;
@@ -88,17 +66,17 @@ Apple;
#X text 384 527 defaults;
#X msg 291 33 bang;
#X obj 306 59 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
--1 -1 2800 1;
+-1 -1 0 1;
#X floatatom 319 83 5 0 0 0 - - -;
#X obj 291 140 pddp/print;
#X msg 366 83 symbol brightness;
#X obj 291 107 iodisplay;
-#X connect 14 0 18 0;
-#X connect 15 0 16 0;
-#X connect 15 0 18 0;
-#X connect 18 0 17 0;
-#X connect 41 0 46 0;
-#X connect 42 0 43 0;
-#X connect 42 0 46 0;
-#X connect 45 0 46 1;
-#X connect 46 0 44 0;
+#X connect 12 0 16 0;
+#X connect 13 0 14 0;
+#X connect 13 0 16 0;
+#X connect 16 0 15 0;
+#X connect 39 0 44 0;
+#X connect 40 0 41 0;
+#X connect 40 0 44 0;
+#X connect 43 0 44 1;
+#X connect 44 0 42 0;
diff --git a/keyboard_light-help.pd b/keyboard_light-help.pd
index 692f04d..5a05e97 100644
--- a/keyboard_light-help.pd
+++ b/keyboard_light-help.pd
@@ -2,9 +2,9 @@
#X obj 4 529 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header keyboard_light
-3 12 0 18 -204280 -1 0;
+3 12 0 18 -241536 -1 0;
#X obj 3 239 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 15 12 0 13
--228856 -1 0;
+-245500 -191407 0;
#N canvas 779 22 494 344 META 0;
#X text 12 25 KEYWORDS control number float store;
#X text 12 45 LICENSE GPL;
@@ -18,11 +18,11 @@
#X text 12 185 RELEASE_VERSION 0.40-test05;
#X restore 504 531 pd META;
#X obj 3 359 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlet 15 12 0
-13 -228856 -1 0;
+13 -245500 -191407 0;
#X obj 3 409 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 15 12
-0 13 -228856 -1 0;
+0 13 -245500 -191407 0;
#X obj 3 469 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
-12 0 13 -228856 -1 0;
+12 0 13 -245500 -191407 0;
#X obj 72 325 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
-162280 0;
#X obj 72 259 cnv 17 3 60 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
@@ -67,14 +67,14 @@ Apples;
#X msg 164 147 0 50;
#X msg 160 125 1 1000;
#X text 167 38 get current level;
-#X text 102 298 LIST - set the keyboard light level and fade time in
+#X text 102 298 list - set the keyboard light level and fade time in
ms;
-#X text 102 325 FLOAT - set the fade time in milliseconds (ms);
-#X text 103 377 FLOAT - the current keyboard light level (between 0
+#X text 102 325 float - set the fade time in milliseconds (ms);
+#X text 103 377 float - the current keyboard light level (between 0
and 1);
-#X text 102 278 FLOAT - set the keyboard light level (between 0 and
+#X text 102 278 float - set the keyboard light level (between 0 and
1);
-#X text 102 258 BANG - output current keyboard light level;
+#X text 102 258 bang - output current keyboard light level;
#X text 102 427 Accepts two floats as arguments \, the first sets the
keyboard light level \, the second sets the fade time.;
#X obj 104 495 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/
diff --git a/sudden_motion_sensor-help.pd b/sudden_motion_sensor-help.pd
index 00b529f..aee39b7 100644
--- a/sudden_motion_sensor-help.pd
+++ b/sudden_motion_sensor-help.pd
@@ -1,10 +1,8 @@
-#N canvas 198 136 565 450 10;
-#X obj 4 398 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
-14 -228856 -66577 0;
+#N canvas 162 65 562 428 10;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header sudden_motion_sensor
-3 12 0 18 -204280 -1 0;
+3 12 0 18 -241536 -1 0;
#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13
--228856 -1 0;
+-245500 -191407 0;
#N canvas 779 22 494 344 META 0;
#X text 12 25 KEYWORDS control number float store;
#X text 12 45 LICENSE GPL;
@@ -16,34 +14,14 @@
#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 165 RELEASE_DATE 2007-08-24;
#X text 12 185 RELEASE_VERSION 0.40-test05;
-#X restore 504 400 pd META;
+#X restore 499 377 pd META;
#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0
-13 -228856 -1 0;
+13 -245500 -191407 0;
#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
-12 0 13 -228856 -1 0;
-#N canvas 309 454 609 478 guts 0;
-#X obj 117 95 textfile;
-#X msg 116 24 symbol template-HCS.pd;
-#X msg 116 54 read \$1 \, rewind \, bang;
-#X obj 117 141 trigger bang anything;
-#X obj 58 117 bang;
-#X obj 240 162 route #X;
-#X obj 240 183 route text;
-#X obj 240 250 route DESCRIPTION;
-#X obj 239 276 print;
-#X obj 140 277 print TEXT;
-#X connect 0 0 3 0;
-#X connect 1 0 2 0;
-#X connect 2 0 0 0;
-#X connect 3 0 4 0;
-#X connect 3 1 5 0;
-#X connect 4 0 0 0;
-#X connect 5 0 6 0;
-#X connect 7 0 8 0;
-#X restore 453 400 pd guts;
+12 0 13 -245500 -191407 0;
#X obj 374 6 pddp/pddplink http://wiki.puredata.info/en/apple/sudden_motion_sensor
-text pdpedia: sudden_motion_sensor;
-#X text 102 208 BANG - output current screen brightness;
+#X text 102 208 bang - output current screen brightness;
#X msg 146 48 bang;
#X msg 179 73 info;
#X floatatom 146 155 5 0 0 3 z - -;
@@ -59,7 +37,7 @@ outlet;
-162280 0;
#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
-#X text 103 276 LIST - a list with the values of the left and right
+#X text 103 276 list - a list with the values of the left and right
sensors;
#X text 103 306 selector series with info about the sensor;
#X text 15 6 description: query the sudden motion sensor in Apples
@@ -72,13 +50,13 @@ sensors;
;
#X obj 146 129 unpack 0 0 0;
#X floatatom 219 155 5 0 0 3 z - -;
-#X connect 9 0 24 0;
-#X connect 10 0 24 0;
-#X connect 14 0 24 0;
-#X connect 15 0 14 0;
-#X connect 24 0 28 0;
-#X connect 24 1 26 0;
-#X connect 26 0 25 0;
-#X connect 28 0 11 0;
-#X connect 28 1 12 0;
-#X connect 28 2 29 0;
+#X connect 7 0 22 0;
+#X connect 8 0 22 0;
+#X connect 12 0 22 0;
+#X connect 13 0 12 0;
+#X connect 22 0 26 0;
+#X connect 22 1 24 0;
+#X connect 24 0 23 0;
+#X connect 26 0 9 0;
+#X connect 26 1 10 0;
+#X connect 26 2 27 0;