From 09a36bc7935a0ef212762406c0b9492bb7878669 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 28 Apr 2005 05:56:36 +0000 Subject: removed the timestamp from the output svn path=/trunk/externals/hcs/hid/; revision=2845 --- hid_darwin.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'hid_darwin.c') diff --git a/hid_darwin.c b/hid_darwin.c index 729347c..3c799c9 100644 --- a/hid_darwin.c +++ b/hid_darwin.c @@ -337,55 +337,55 @@ t_int hid_get_events(t_hid *x) */ case 0: sprintf(code,"abs_hat0y");value = 1; - hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + 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,(t_float)(event.timestamp).lo); + hid_output_event(x,type,code,(t_float)value); break; default: convertDarwinElementToLinuxTypeCode(pCurrentHIDElement,type,code); - hid_output_event(x,type,code,(t_float)value,(t_float)(event.timestamp).lo); + hid_output_event(x,type,code,(t_float)value); } // DEBUG(post("type: %s code: %s event name: %s",type,code,event_output_string);); -- cgit v1.2.1