[PD-cvs] externals/hcs/hid mouse.pd,1.4,1.5

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri May 20 22:01:13 CEST 2005


Update of /cvsroot/pure-data/externals/hcs/hid
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16750

Modified Files:
	mouse.pd 
Log Message:
the object now resets the output to zero when data isn't detected within 50 ms

Index: mouse.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/mouse.pd,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mouse.pd	27 Nov 2004 19:29:34 -0000	1.4
--- mouse.pd	20 May 2005 20:01:11 -0000	1.5
***************
*** 1,32 ****
! #N canvas 305 189 717 462 10;
! #X obj 125 38 inlet;
! #X obj 5 346 outlet;
! #X obj 110 346 outlet;
! #X obj 220 346 outlet;
! #X obj 500 347 outlet;
  #X msg 355 119 open \$1;
  #X obj 356 94 makefilename mouse%d;
  #X obj 356 68 f \$1;
  #X obj 356 44 loadbang;
! #X text 4 364 X;
! #X text 115 369 Y;
! #X text 222 367 wheel;
  #X msg 187 84 open \$1;
  #X obj 187 61 f \$1;
  #X obj 187 37 loadbang;
! #X obj 5 283 autoscale -1 1;
! #X obj 110 283 autoscale -1 1;
! #X obj 67 233 route rel_x rel_y rel_wheel;
! #X obj 271 258 print MOUSE_UNIMPLEMENTED_EVENT;
  #X text 343 139 this is for once this feature is implemented;
! #X obj 125 115 hid \$1;
! #X obj 125 155 route rel key;
! #X text 484 368 button code/value list;
! #X text 1 422 (C) Copyright 2004 Hans-Christoph Steiner <hans at at.or.at>
  ;
! #X text 218 436 released under the GNU GPL;
! #X text 414 436 $Author$;
! #X text 414 423 $Revision$;
! #X connect 0 0 20 0;
  #X connect 6 0 5 0;
  #X connect 7 0 6 0;
--- 1,45 ----
! #N canvas 212 125 743 568 10;
! #X obj 60 18 inlet;
! #X obj 5 471 outlet;
! #X obj 139 471 outlet;
! #X obj 372 472 outlet;
! #X obj 500 472 outlet;
  #X msg 355 119 open \$1;
  #X obj 356 94 makefilename mouse%d;
  #X obj 356 68 f \$1;
  #X obj 356 44 loadbang;
! #X text 4 494 X;
! #X text 144 494 Y;
! #X text 374 493 wheel;
  #X msg 187 84 open \$1;
  #X obj 187 61 f \$1;
  #X obj 187 37 loadbang;
! #X obj 5 338 autoscale -1 1;
! #X obj 139 338 autoscale -1 1;
! #X obj 67 288 route rel_x rel_y rel_wheel;
! #X obj 328 313 print MOUSE_UNIMPLEMENTED_EVENT;
  #X text 343 139 this is for once this feature is implemented;
! #X obj 125 180 hid \$1;
! #X obj 125 210 route rel key;
! #X text 484 493 button code/value list;
! #X text 1 512 (C) Copyright 2004 Hans-Christoph Steiner <hans at at.or.at>
  ;
! #X text 218 526 released under the GNU GPL;
! #X text 414 526 $Author$;
! #X text 414 513 $Revision$;
! #X msg 153 422 0;
! #X obj 153 401 delay 50;
! #X obj 60 63 route poll;
! #X msg 140 151 poll \$1;
! #X obj 60 86 s \$0-poll;
! #X obj 204 380 r \$0-poll;
! #X obj 140 131 r \$0-poll;
! #X obj 153 379 bang;
! #X msg 13 422 0;
! #X obj 13 401 delay 50;
! #X obj 64 380 r \$0-poll;
! #X obj 13 379 bang;
! #X text 32 436 zero when no motion;
! #X connect 0 0 29 0;
  #X connect 6 0 5 0;
  #X connect 7 0 6 0;
***************
*** 35,39 ****
--- 48,54 ----
  #X connect 14 0 13 0;
  #X connect 15 0 1 0;
+ #X connect 15 0 38 0;
  #X connect 16 0 2 0;
+ #X connect 16 0 34 0;
  #X connect 17 0 15 0;
  #X connect 17 1 16 0;
***************
*** 42,43 ****
--- 57,70 ----
  #X connect 21 0 17 0;
  #X connect 21 1 4 0;
+ #X connect 27 0 2 0;
+ #X connect 28 0 27 0;
+ #X connect 29 0 31 0;
+ #X connect 29 1 20 0;
+ #X connect 30 0 20 0;
+ #X connect 32 0 28 1;
+ #X connect 33 0 30 0;
+ #X connect 34 0 28 0;
+ #X connect 35 0 1 0;
+ #X connect 36 0 35 0;
+ #X connect 37 0 36 1;
+ #X connect 38 0 36 0;





More information about the Pd-cvs mailing list