From a0aef64af84622e8d6d02c7714fb82178dea0286 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 28 Feb 2003 09:47:11 +0000 Subject: pdp docs svn path=/trunk/externals/pdp/; revision=439 --- doc/introduction/input_output.pd | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'doc/introduction/input_output.pd') diff --git a/doc/introduction/input_output.pd b/doc/introduction/input_output.pd index afb1fa6..07aa793 100644 --- a/doc/introduction/input_output.pd +++ b/doc/introduction/input_output.pd @@ -1,10 +1,10 @@ -#N canvas 215 217 894 722 10; +#N canvas 250 34 894 848 10; #X obj 107 427 pdp_v4l; #X obj 107 53 metro 40; #X msg 159 14 stop; #X msg 107 14 bang; #X msg 51 14 bang; -#X obj 107 661 pdp_xv; +#X obj 107 695 pdp_xv; #X msg 209 93 open /dev/video0; #X msg 209 117 open /dev/video1; #X text 347 95 you can choose the input device using the 'open' message. @@ -36,24 +36,30 @@ grabs a frame whenever a bang message is received. the output rate is limited by the maximum framerate of the video device. if there is no device opened \, it will attempt to open /dev/video0; #X msg 212 627 cursor \$1; -#X obj 212 607 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 212 607 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 348 627 enables/disables cursor in xv window; #X msg 210 319 channel \$1; -#X floatatom 210 295 5 0 0; +#X floatatom 210 295 5 0 0 0 - - -; #X text 347 320 sets the v4l channel (like tuner \, composite \, svideo \, ...); -#X floatatom 210 359 5 0 0; +#X floatatom 210 359 5 0 0 0 - - -; #X msg 210 383 freq \$1; -#X floatatom 271 359 5 0 0; +#X floatatom 271 359 5 0 0 0 - - -; #X msg 271 383 freqMHz \$1; #X text 346 359 sets the v4l tuner frequency (in v4l units and MHz) ; +#X text 347 655 specify the x window display; +#X msg 212 653 display :0; +#X obj 107 748 print; +#X text 211 745 the output channel sends mouse event messages (press/release/drag +and individual p/r/d for each button); #X connect 0 0 5 0; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 0 0; +#X connect 5 0 38 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X connect 9 0 0 0; @@ -73,3 +79,4 @@ no device opened \, it will attempt to open /dev/video0; #X connect 32 0 0 0; #X connect 33 0 34 0; #X connect 34 0 0 0; +#X connect 37 0 5 0; -- cgit v1.2.1