Revision: 9577 http://pure-data.svn.sourceforge.net/pure-data/?rev=9577&view=rev Author: eighthave Date: 2008-03-12 12:47:14 -0700 (Wed, 12 Mar 2008)
Log Message: ----------- converted help patches to the PDDP template
Modified Paths: -------------- trunk/externals/apple/ambient_light_sensor-help.pd trunk/externals/apple/brightness-help.pd trunk/externals/apple/iodisplay-help.pd trunk/externals/apple/keyboard_light-help.pd
Modified: trunk/externals/apple/ambient_light_sensor-help.pd =================================================================== --- trunk/externals/apple/ambient_light_sensor-help.pd 2008-03-12 19:46:20 UTC (rev 9576) +++ trunk/externals/apple/ambient_light_sensor-help.pd 2008-03-12 19:47:14 UTC (rev 9577) @@ -1,15 +1,82 @@ -#N canvas 0 22 474 324 10; -#X obj 136 147 ambient_light_sensor; -#X msg 136 94 bang; -#X obj 130 193 pddp/print; -#X text 26 23 get the data from the ambient light sensors in Apple -PowerBooks and MacBooks.; -#X obj 109 94 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 -1; -#X msg 206 96 info; -#X obj 254 170 print; -#X connect 0 0 2 0; -#X connect 0 1 6 0; -#X connect 1 0 0 0; +#N canvas 126 300 567 453 10; +#X obj 4 398 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 ambient_light_sensor +3 12 0 18 -204280 -1 0; +#X obj 3 189 cnv 3 550 3 empty $0-pddp.cnv.inlets inlet 15 12 0 13 +-228856 -1 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 obj 3 258 cnv 3 550 3 empty $0-pddp.cnv.outlets outlets 15 12 0 +13 -228856 -1 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 0 0; +#X connect 5 0 6 0; +#X connect 7 0 8 0; +#X restore 453 400 pd guts; +#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 15 6 description: query the ambient light sensor in Apples +; +#X obj 389 -14 apple/ambient_light_sensor; +#X obj 146 101 ambient_light_sensor; +#X msg 146 48 bang; +#X msg 179 73 info; +#X obj 146 129 unpack; +#X floatatom 146 155 5 0 0 0 left - -; +#X floatatom 182 155 5 0 0 1 right - -; +#X obj 263 153 pddp/print; +#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 -262144 -1 -1 0 1 +; +#X text 183 46 output sensor values; +#X text 102 227 "info" - outputs info about the sensor on the right +outlet; +#X obj 72 305 cnv 17 3 20 empty $0-pddp.cnv.let.1 1 5 9 0 16 -228856 +-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 +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;
Modified: trunk/externals/apple/brightness-help.pd =================================================================== --- trunk/externals/apple/brightness-help.pd 2008-03-12 19:46:20 UTC (rev 9576) +++ trunk/externals/apple/brightness-help.pd 2008-03-12 19:47:14 UTC (rev 9577) @@ -1,11 +1,69 @@ -#N canvas 293 113 450 300 10; -#X msg 127 72 bang; -#X floatatom 127 186 5 0 0 0 - - -; -#X obj 149 97 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 6800 1; -#X floatatom 162 121 5 0 0 0 - - -; -#X obj 127 155 brightness; -#X connect 0 0 4 0; -#X connect 2 0 3 0; -#X connect 2 0 4 0; -#X connect 4 0 1 0; +#N canvas 369 151 562 479 10; +#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; +#X obj 3 189 cnv 3 550 3 empty $0-pddp.cnv.inlets inlets 15 12 0 13 +-228856 -1 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 430 pd META; +#X obj 3 258 cnv 3 550 3 empty $0-pddp.cnv.outlets outlet 15 12 0 +13 -228856 -1 0; +#X obj 3 308 cnv 3 550 3 empty $0-pddp.cnv.argument argument 15 12 +0 13 -228856 -1 0; +#X obj 3 368 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 430 pd guts; +#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/apple/brightness +-text pdpedia: brightness; +#X obj 104 394 pddp/pddplink http://www.osxbook.com/book/bonus/chapter10/light/ +; +#X msg 197 39 bang; +#X floatatom 197 153 5 0 0 0 - - -; +#X obj 216 73 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 2100 1; +#X floatatom 229 97 5 0 0 0 - - -; +#X obj 197 122 brightness; +#X text 15 6 description: query and control screen brightness on Apples +; +#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 102 208 BANG - output current screen brightness; +#X text 102 228 FLOAT - set the screen brightness (between 0 and 1) +; +#X connect 10 0 14 0; +#X connect 12 0 13 0; +#X connect 12 0 14 0; +#X connect 14 0 11 0;
Modified: trunk/externals/apple/iodisplay-help.pd =================================================================== --- trunk/externals/apple/iodisplay-help.pd 2008-03-12 19:46:20 UTC (rev 9576) +++ trunk/externals/apple/iodisplay-help.pd 2008-03-12 19:47:14 UTC (rev 9577) @@ -1,28 +1,104 @@ -#N canvas 738 22 521 540 10; -#X msg 127 72 bang; -#X obj 149 97 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 3100 1; -#X floatatom 162 121 5 0 0 0 - - -; -#X text 81 287 some other possibilities (from IOKit/graphics/IOGraphicsTypes.h): +#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; +#X obj 3 179 cnv 3 550 3 empty $0-pddp.cnv.inlets inlets 15 12 0 13 +-228856 -1 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 549 pd META; +#X obj 3 271 cnv 3 550 3 empty $0-pddp.cnv.outlets outlet 15 12 0 +13 -228856 -1 0; +#X obj 3 321 cnv 3 550 3 empty $0-pddp.cnv.argument argument 15 12 +0 13 -228856 -1 0; +#X obj 3 371 cnv 3 550 3 empty $0-pddp.cnv.more_info more_info 15 +12 0 13 -228856 -1 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/ ; -#X text 114 319 brightness; -#X text 114 339 contrast; -#X text 114 359 horizontal-position; -#X text 114 379 horizontal-size; -#X text 114 399 vertical-position; -#X text 114 419 trapezoid; -#X text 114 439 pincushion; -#X text 114 459 parallelogram; -#X text 254 319 rotation; -#X text 254 339 theatre-mode; -#X text 254 359 theatre-mode-window; -#X text 254 379 oscn; -#X text 254 399 vbst; -#X text 254 419 commit; -#X text 254 439 defaults; -#X obj 128 202 pddp/print; -#X obj 127 155 iodisplay brightness; -#X connect 0 0 20 0; -#X connect 1 0 2 0; -#X connect 1 0 20 0; -#X connect 20 0 19 0; +#X obj 456 -14 apple/iodisplay; +#X text 15 6 description: query and control IODisplay parameters on +Apple; +#X msg 81 33 bang; +#X obj 103 58 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#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 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 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... +-text IOKit/graphics/IOGraphicsTypes.h; +#X text 14 430 Possible IODisplay parameters:; +#X text 64 447 brightness; +#X text 64 467 contrast; +#X text 64 487 horizontal-position; +#X text 64 507 horizontal-size; +#X text 64 527 vertical-position; +#X text 222 447 trapezoid; +#X text 222 467 pincushion; +#X text 222 487 parallelogram; +#X text 222 508 rotation; +#X text 222 528 theatre-mode; +#X text 384 447 theatre-mode-window; +#X text 384 467 oscn; +#X text 384 487 vbst; +#X text 384 507 commit; +#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; +#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;
Modified: trunk/externals/apple/keyboard_light-help.pd =================================================================== --- trunk/externals/apple/keyboard_light-help.pd 2008-03-12 19:46:20 UTC (rev 9576) +++ trunk/externals/apple/keyboard_light-help.pd 2008-03-12 19:47:14 UTC (rev 9577) @@ -1,4 +1,4 @@ -#N canvas 193 46 567 584 10; +#N canvas 165 58 563 577 10; #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 @@ -47,7 +47,7 @@ #X connect 5 0 6 0; #X connect 7 0 8 0; #X restore 453 531 pd guts; -#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/keyboard_light +#X obj 412 6 pddp/pddplink http://wiki.puredata.info/en/apple/keyboard_light -text pdpedia: keyboard_light; #X text 15 6 description: query and control the keyboard lights on Apples;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.