diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-28 05:56:36 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-28 05:56:36 +0000 |
commit | 09a36bc7935a0ef212762406c0b9492bb7878669 (patch) | |
tree | 4f4cfaf5ff36b15f1619d0f50cfe2c3ec76f275c /hid_darwin.c | |
parent | a4d12aa429a4d52810f7de54e0f37114600008b6 (diff) |
removed the timestamp from the output
svn path=/trunk/externals/hcs/hid/; revision=2845
Diffstat (limited to 'hid_darwin.c')
-rw-r--r-- | hid_darwin.c | 22 |
1 files changed, 11 insertions, 11 deletions
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);); |