From d4e504ebf32d62232b316bb819800ecd513cebb3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 28 Apr 2005 04:29:58 +0000 Subject: switched Linux to use common hid_output_event() svn path=/trunk/externals/hcs/hid/; revision=2843 --- hid.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hid.c') diff --git a/hid.c b/hid.c index 335f71a..82c1b12 100644 --- a/hid.c +++ b/hid.c @@ -48,17 +48,15 @@ static void hid_float(t_hid* x, t_floatarg f); * SUPPORT FUNCTIONS */ -void hid_output_event(t_hid *x, - char *type, char *code, t_float value, t_float timestamp) +void hid_output_event(t_hid *x, char *type, char *code, t_float value) { t_atom event_data[4]; SETSYMBOL(event_data, gensym(type)); /* type */ SETSYMBOL(event_data + 1, gensym(code)); /* code */ SETFLOAT(event_data + 2, value); /* value */ - SETFLOAT(event_data + 3, timestamp); /* timestamp */ - outlet_anything(x->x_obj.te_outlet,atom_gensym(event_data),3,event_data+1); + outlet_anything(x->x_obj.te_outlet,atom_gensym(event_data),2,event_data+1); } void hid_set_from_float(t_hid *x, t_floatarg f) -- cgit v1.2.1