[PD-cvs] externals/hcs/hid hid-help.pd, 1.16, 1.17 hid_darwin.c, 1.13, 1.14

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu Apr 28 07:56:39 CEST 2005


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

Modified Files:
	hid-help.pd hid_darwin.c 
Log Message:
removed the timestamp from the output

Index: hid_darwin.c
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid_darwin.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** hid_darwin.c	28 Nov 2004 01:27:47 -0000	1.13
--- hid_darwin.c	28 Apr 2005 05:56:36 -0000	1.14
***************
*** 338,390 ****
  					case 0: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  					case 1: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 2: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 3: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 4: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  					case 5: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 6: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 7: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 8: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  				}
! 				hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  				break;
  			default:
  				convertDarwinElementToLinuxTypeCode(pCurrentHIDElement,type,code);
! 				hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo);
  		}
  
--- 338,390 ----
  					case 0: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  					case 1: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 2: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 3: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 1;
  						break;
  					case 4: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  					case 5: 
  						sprintf(code,"abs_hat0y");value = -1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 6: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 7: 
  						sprintf(code,"abs_hat0y");value = 1;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = -1;
  						break;
  					case 8: 
  						sprintf(code,"abs_hat0y");value = 0;
! 						hid_output_event(x,type,code,(t_float)value);
  						sprintf(code,"abs_hat0x");value = 0;
  						break;
  				}
! 				hid_output_event(x,type,code,(t_float)value);
  				break;
  			default:
  				convertDarwinElementToLinuxTypeCode(pCurrentHIDElement,type,code);
! 				hid_output_event(x,type,code,(t_float)value);
  		}
  

Index: hid-help.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/hid-help.pd,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** hid-help.pd	28 Apr 2005 04:29:58 -0000	1.16
--- hid-help.pd	28 Apr 2005 05:56:36 -0000	1.17
***************
*** 1,4 ****
! #N canvas 71 186 913 626 10;
! #X msg 455 295 rel rel_y 1;
  #X obj 455 274 prepend set;
  #X floatatom 37 484 5 0 0 0 - - -;
--- 1,4 ----
! #N canvas 159 95 913 626 10;
! #X msg 455 295 syn syn_report 0;
  #X obj 455 274 prepend set;
  #X floatatom 37 484 5 0 0 0 - - -;
***************
*** 6,14 ****
  #X msg 158 121 start;
  #X msg 158 141 stop;
! #X msg 261 34 open 0;
! #X msg 268 52 open 1;
! #X msg 275 70 open 2;
! #X msg 281 88 open 3;
! #X msg 287 106 open 4;
  #X floatatom 84 439 7 0 0 0 - - -;
  #X floatatom 138 439 7 0 0 0 - - -;
--- 6,12 ----
  #X msg 158 121 start;
  #X msg 158 141 stop;
! #X msg 261 110 open 0;
! #X msg 268 128 open 1;
! #X msg 275 146 open 2;
  #X floatatom 84 439 7 0 0 0 - - -;
  #X floatatom 138 439 7 0 0 0 - - -;
***************
*** 78,82 ****
  #X obj 335 537 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
  1;
- #X msg 292 126 open 5;
  #X obj 9 504 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7
  btn_8 btn_9;
--- 76,79 ----
***************
*** 319,384 ****
  #X floatatom 206 484 5 0 0 0 - - -;
  #X obj 455 335 unpack s s f;
  #X connect 1 0 0 0;
! #X connect 4 0 88 0;
! #X connect 5 0 88 0;
! #X connect 6 0 88 0;
! #X connect 7 0 88 0;
! #X connect 8 0 88 0;
! #X connect 9 0 88 0;
! #X connect 10 0 88 0;
! #X connect 13 0 88 0;
! #X connect 34 0 33 0;
! #X connect 34 0 17 0;
! #X connect 35 0 34 1;
! #X connect 36 0 37 1;
! #X connect 37 0 36 0;
! #X connect 38 0 37 0;
! #X connect 39 0 88 0;
! #X connect 40 0 88 0;
! #X connect 48 0 88 0;
! #X connect 49 0 88 0;
! #X connect 53 0 64 0;
! #X connect 53 1 96 0;
! #X connect 53 2 70 0;
! #X connect 53 3 38 0;
! #X connect 63 0 88 0;
! #X connect 64 0 54 0;
! #X connect 64 1 55 0;
! #X connect 64 2 56 0;
! #X connect 64 3 57 0;
! #X connect 64 4 58 0;
! #X connect 64 5 59 0;
! #X connect 64 6 60 0;
! #X connect 64 7 61 0;
! #X connect 64 8 62 0;
! #X connect 64 9 65 0;
! #X connect 70 0 11 0;
! #X connect 70 1 12 0;
! #X connect 70 2 47 0;
! #X connect 70 3 71 0;
! #X connect 70 4 72 0;
! #X connect 70 5 73 0;
! #X connect 70 6 74 0;
  #X connect 74 0 75 0;
! #X connect 74 1 77 0;
! #X connect 74 2 79 0;
! #X connect 74 3 81 0;
! #X connect 75 0 76 0;
! #X connect 77 0 78 0;
! #X connect 79 0 80 0;
! #X connect 81 0 82 0;
! #X connect 83 0 88 0;
! #X connect 84 0 88 0;
! #X connect 87 0 88 0;
! #X connect 88 0 34 0;
! #X connect 88 0 1 0;
! #X connect 88 0 53 0;
! #X connect 88 0 98 0;
! #X connect 95 0 88 0;
! #X connect 96 0 2 0;
! #X connect 96 1 3 0;
! #X connect 96 2 69 0;
! #X connect 96 3 97 0;
! #X connect 98 0 16 0;
! #X connect 98 1 15 0;
! #X connect 98 2 14 0;
--- 316,385 ----
  #X floatatom 206 484 5 0 0 0 - - -;
  #X obj 455 335 unpack s s f;
+ #X msg 248 91 open \$1;
+ #X obj 248 73 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
+ -1 0;
+ #X floatatom 235 94 1 0 0 0 - - -;
  #X connect 1 0 0 0;
! #X connect 4 0 85 0;
! #X connect 5 0 85 0;
! #X connect 6 0 85 0;
! #X connect 7 0 85 0;
! #X connect 8 0 85 0;
! #X connect 11 0 85 0;
! #X connect 32 0 31 0;
! #X connect 32 0 15 0;
! #X connect 33 0 32 1;
! #X connect 34 0 35 1;
! #X connect 35 0 34 0;
! #X connect 36 0 35 0;
! #X connect 37 0 85 0;
! #X connect 38 0 85 0;
! #X connect 46 0 85 0;
! #X connect 47 0 85 0;
! #X connect 51 0 61 0;
! #X connect 51 1 93 0;
! #X connect 51 2 67 0;
! #X connect 51 3 36 0;
! #X connect 61 0 52 0;
! #X connect 61 1 53 0;
! #X connect 61 2 54 0;
! #X connect 61 3 55 0;
! #X connect 61 4 56 0;
! #X connect 61 5 57 0;
! #X connect 61 6 58 0;
! #X connect 61 7 59 0;
! #X connect 61 8 60 0;
! #X connect 61 9 62 0;
! #X connect 67 0 9 0;
! #X connect 67 1 10 0;
! #X connect 67 2 45 0;
! #X connect 67 3 68 0;
! #X connect 67 4 69 0;
! #X connect 67 5 70 0;
! #X connect 67 6 71 0;
! #X connect 71 0 72 0;
! #X connect 71 1 74 0;
! #X connect 71 2 76 0;
! #X connect 71 3 78 0;
! #X connect 72 0 73 0;
  #X connect 74 0 75 0;
! #X connect 76 0 77 0;
! #X connect 78 0 79 0;
! #X connect 80 0 85 0;
! #X connect 81 0 85 0;
! #X connect 84 0 85 0;
! #X connect 85 0 32 0;
! #X connect 85 0 1 0;
! #X connect 85 0 51 0;
! #X connect 85 0 95 0;
! #X connect 92 0 85 0;
! #X connect 93 0 2 0;
! #X connect 93 1 3 0;
! #X connect 93 2 66 0;
! #X connect 93 3 94 0;
! #X connect 95 0 14 0;
! #X connect 95 1 13 0;
! #X connect 95 2 12 0;
! #X connect 96 0 85 0;
! #X connect 97 0 96 0;
! #X connect 97 0 98 0;





More information about the Pd-cvs mailing list