Update of /cvsroot/pure-data/externals/hcs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24941
Modified Files: linuxevent-help.pd linuxjoystick-help.pd linuxmouse-help.pd Log Message: minor tweaks
Index: linuxevent-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/linuxevent-help.pd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** linuxevent-help.pd 11 Oct 2004 23:40:49 -0000 1.4 --- linuxevent-help.pd 22 Oct 2004 19:16:34 -0000 1.5 *************** *** 1,3 **** ! #N canvas 154 46 570 623 10; #X floatatom 234 320 5 0 0 3 code - -; #X floatatom 298 320 5 0 0 3 value - -; --- 1,3 ---- ! #N canvas 560 58 570 624 10; #X floatatom 234 320 5 0 0 3 code - -; #X floatatom 298 320 5 0 0 3 value - -; *************** *** 168,172 **** #X text 245 463 298; #X text 245 477 299; ! #X restore 125 564 pd Event_Codes; #N canvas 50 289 469 317 Event_Types 0; #X text 28 48 (For a complete listing of Linux Input Events , see --- 168,172 ---- #X text 245 463 298; #X text 245 477 299; ! #X restore 132 556 pd Event_Codes; #N canvas 50 289 469 317 Event_Types 0; #X text 28 48 (For a complete listing of Linux Input Events , see *************** *** 211,215 **** #X text 230 255 EV_PWR; #X text 61 255 Power Events (for UPS); ! #X restore 125 544 pd Event_Types; #N canvas 0 22 450 300 Event_Values 0; #X text 28 48 (For a complete listing of Linux Input Events , see --- 211,215 ---- #X text 230 255 EV_PWR; #X text 61 255 Power Events (for UPS); ! #X restore 132 536 pd Event_Types; #N canvas 0 22 450 300 Event_Values 0; #X text 28 48 (For a complete listing of Linux Input Events , see *************** *** 217,230 **** #X obj 11 9 cnv 15 400 30 empty empty Event_Values 20 12 1 14 -261681 -66577 0; ! #X restore 125 584 pd Event_Values; #X text 1 367 Check the Pd console for supported event types and codes. This object will report them when it opens a device.; ! #X obj 2 2 cnv 15 550 30 empty empty linuxevent 20 12 1 16 -228992 -66577 0; #X text 10 44 [linuxevent] outputs raw events from the Linux Event system. It is used for access the output of various Human Interface Devices , like mice , joysticks , tablets , etc.; ! #X text 260 547 related HID objects:; ! #X obj 411 546 linuxhid; #X text 26 105 bang to get an update when polling is stopped.; #X msg 229 195 poll; --- 217,230 ---- #X obj 11 9 cnv 15 400 30 empty empty Event_Values 20 12 1 14 -261681 -66577 0; ! #X restore 132 576 pd Event_Values; #X text 1 367 Check the Pd console for supported event types and codes. This object will report them when it opens a device.; ! #X obj 2 2 cnv 15 550 25 empty empty [linuxevent] 20 12 1 16 -228992 -66577 0; #X text 10 44 [linuxevent] outputs raw events from the Linux Event system. It is used for access the output of various Human Interface Devices , like mice , joysticks , tablets , etc.; ! #X text 267 539 related HID objects:; ! #X obj 418 538 linuxhid; #X text 26 105 bang to get an update when polling is stopped.; #X msg 229 195 poll; *************** *** 245,251 **** #X floatatom 124 493 5 0 0 3 twist - -; #X floatatom 263 492 5 0 0 3 throttle - -; ! #X obj 411 575 all_about_hid; ! #X text 302 574 for more info:; ! #X text 6 562 detailed info:; #X connect 4 0 6 0; #X connect 5 0 6 0; --- 245,253 ---- #X floatatom 124 493 5 0 0 3 twist - -; #X floatatom 263 492 5 0 0 3 throttle - -; ! #X obj 418 567 all_about_hid; ! #X text 309 566 for more info:; ! #X text 13 554 detailed info:; ! #X text 14 605 by Hans-Christoph Steiner hans@at.or.at; ! #X text 379 604 updated for Pd 0.38test4; #X connect 4 0 6 0; #X connect 5 0 6 0;
Index: linuxmouse-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/linuxmouse-help.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** linuxmouse-help.pd 17 Nov 2003 21:09:45 -0000 1.2 --- linuxmouse-help.pd 22 Oct 2004 19:16:34 -0000 1.3 *************** *** 1,3 **** ! #N canvas 112 187 450 441 10; #X floatatom 238 220 5 0 0 3 button# - -; #X floatatom 299 220 5 0 0 3 button_value - -; --- 1,3 ---- ! #N canvas 112 187 463 472 10; #X floatatom 238 220 5 0 0 3 button# - -; #X floatatom 299 220 5 0 0 3 button_value - -; *************** *** 6,13 **** #X floatatom 79 220 4 0 0 3 x-axis - -; #X obj 95 193 linuxmouse /dev/input/event0; ! #X obj 18 6 cnv 15 400 30 empty empty linuxmouse 20 12 1 16 -225280 -66577 0; - #X text 206 17 related HID objects:; - #X obj 357 16 linuxhiderfic; #X text 24 263 [linuxmouse] takes events directly from a Linux event device , so that you get mouse data regardless of whether Pd has focus. --- 6,11 ---- #X floatatom 79 220 4 0 0 3 x-axis - -; #X obj 95 193 linuxmouse /dev/input/event0; ! #X obj 6 5 cnv 15 450 30 empty empty [linuxmouse] 20 12 1 16 -225280 -66577 0; #X text 24 263 [linuxmouse] takes events directly from a Linux event device , so that you get mouse data regardless of whether Pd has focus. *************** *** 18,26 **** #X msg 115 70 poll; #X msg 115 92 nopoll; - #X text 24 335 Rather than polling like the other linuxhid objects - , [linuxmouse] uses a pollfn so it receives events as they happen. - A pollfn listens to a network socket , and takes action upon activity. - Since all mouse events go through the network socket between pd and - pd-gui , this works for responding to mouse events.; #X msg 158 165 close; #X text 179 91 (synonyms for the same actions); --- 16,19 ---- *************** *** 29,32 **** --- 22,34 ---- #X msg 152 142 open /dev/input/event1; #X text 183 123 opens the previous device; + #X obj 419 10 pddp; + #X text 178 417 For more info on HIDs:; + #X text 10 441 by Hans-Christoph Steiner hans@at.or.at; + #X obj 340 417 all_about_hid; + #X text 24 325 Rather than polling like the other HID objects , [linuxmouse] + uses a pollfn so it receives events as they happen. A pollfn listens + to a network socket , and takes action upon activity. Since all mouse + events go through the network socket between pd and pd-gui , this + works for responding to mouse events.; #X connect 5 0 4 0; #X connect 5 1 3 0; *************** *** 34,42 **** #X connect 5 3 0 0; #X connect 5 4 1 0; #X connect 10 0 5 0; #X connect 11 0 5 0; #X connect 12 0 5 0; - #X connect 13 0 5 0; #X connect 15 0 5 0; ! #X connect 18 0 5 0; ! #X connect 19 0 5 0; --- 36,44 ---- #X connect 5 3 0 0; #X connect 5 4 1 0; + #X connect 8 0 5 0; + #X connect 9 0 5 0; #X connect 10 0 5 0; #X connect 11 0 5 0; #X connect 12 0 5 0; #X connect 15 0 5 0; ! #X connect 16 0 5 0;
Index: linuxjoystick-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/linuxjoystick-help.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** linuxjoystick-help.pd 17 Nov 2003 21:09:45 -0000 1.2 --- linuxjoystick-help.pd 22 Oct 2004 19:16:34 -0000 1.3 *************** *** 1,82 **** ! #N canvas 107 356 731 483 10; ! #X floatatom 324 292 2 0 0 3 button# - -; ! #X floatatom 381 291 2 0 0 3 button_value - -; ! #X floatatom 70 292 5 0 0 3 y-axis - -; ! #X floatatom 23 292 5 0 0 3 x-axis - -; ! #X floatatom 169 293 3 0 0 3 hat-X - -; ! #X floatatom 215 293 3 0 0 3 hat-Y - -; ! #X floatatom 119 293 5 0 0 3 twist - -; ! #X floatatom 258 292 5 0 0 3 throttle - -; ! #X obj 119 235 linuxjoystick /dev/input/event1; ! #X obj 211 364 select 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21; ! #X obj 211 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 229 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 248 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 266 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 285 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 303 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 322 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 629 403 bng 30 250 50 0 empty empty not_recognized 0 -6 0 8 -261689 -1 -1; ! #X obj 600 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 581 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 563 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 544 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 526 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 507 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 489 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 470 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 452 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 433 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 415 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 396 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 377 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 359 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 340 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 366 332 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 20 9 cnv 15 700 30 empty empty linuxjoystick 20 12 1 16 -257472 -66577 0; ! #X text 502 17 related HID objects:; ! #X obj 653 16 linuxhid; ! #X msg 214 136 start; ! #X msg 214 157 stop; ! #X obj 156 118 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 67 118 metro 20; ! #X text 335 194 time between polls (ms); ! #X obj 67 96 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 87 96 stop; ! #X msg 268 194 delay 20; ! #X obj 156 69 key; ! #X msg 278 135 poll; ! #X msg 278 156 nopoll; ! #X text 195 117 start/stop polling (synonyms for the same thing); ! #X obj 156 89 sel 98; ! #X text 202 89 <- (type 'b' for a bang); #X connect 0 0 9 0; #X connect 1 0 33 0; --- 1,85 ---- ! #N canvas 328 99 714 506 10; ! #X floatatom 324 281 2 0 0 3 button# - -; ! #X floatatom 381 280 2 0 0 3 button_value - -; ! #X floatatom 70 281 5 0 0 3 y-axis - -; ! #X floatatom 23 281 5 0 0 3 x-axis - -; ! #X floatatom 169 282 3 0 0 3 hat-X - -; ! #X floatatom 215 282 3 0 0 3 hat-Y - -; ! #X floatatom 119 282 5 0 0 3 twist - -; ! #X floatatom 258 281 5 0 0 3 throttle - -; ! #X obj 119 224 linuxjoystick /dev/input/event1; ! #X obj 196 353 select 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21; ! #X obj 196 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 214 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 233 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 251 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 270 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 288 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 307 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 614 392 bng 30 250 50 0 empty empty not_recognized 0 -6 0 8 -261689 -1 -1; ! #X obj 585 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 566 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 548 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 529 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 511 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 492 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 474 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 455 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 437 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 418 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 400 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 381 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 362 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 344 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 325 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 366 321 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 4 4 cnv 15 700 30 empty empty [linuxjoystick] 20 12 1 16 -257472 -66577 0; ! #X msg 214 125 start; ! #X msg 214 146 stop; ! #X obj 156 107 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X obj 67 107 metro 20; ! #X text 335 183 time between polls (ms); ! #X obj 67 85 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; ! #X msg 87 85 stop; ! #X msg 268 183 delay 20; ! #X obj 156 58 key; ! #X msg 278 124 poll; ! #X msg 278 145 nopoll; ! #X text 195 106 start/stop polling (synonyms for the same thing); ! #X obj 156 78 sel 98; ! #X text 202 78 <- (type 'b' for a bang); ! #X obj 668 10 pddp; ! #X text 428 449 For more info on HIDs:; ! #X obj 590 448 all_about_hid; ! #X text 38 481 by Hans-Christoph Steiner hans@at.or.at; ! #X text 490 479 updated for Pd version 0.37.1; #X connect 0 0 9 0; #X connect 1 0 33 0; *************** *** 113,125 **** #X connect 9 22 17 0; #X connect 33 0 0 0; #X connect 37 0 8 0; #X connect 38 0 8 0; ! #X connect 39 0 8 0; ! #X connect 40 0 8 0; ! #X connect 42 0 40 0; ! #X connect 43 0 40 0; #X connect 44 0 8 0; ! #X connect 45 0 49 0; ! #X connect 46 0 8 0; ! #X connect 47 0 8 0; ! #X connect 49 0 39 0; --- 116,128 ---- #X connect 9 22 17 0; #X connect 33 0 0 0; + #X connect 35 0 8 0; + #X connect 36 0 8 0; #X connect 37 0 8 0; #X connect 38 0 8 0; ! #X connect 40 0 38 0; ! #X connect 41 0 38 0; ! #X connect 42 0 8 0; ! #X connect 43 0 47 0; #X connect 44 0 8 0; ! #X connect 45 0 8 0; ! #X connect 47 0 37 0;