diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-28 04:29:58 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-28 04:29:58 +0000 |
commit | d4e504ebf32d62232b316bb819800ecd513cebb3 (patch) | |
tree | 94058163fdcb90e4fd8990e5a45798a0e5d6493d /hid.c | |
parent | 32af9ff6bac9b6991f00726b9d13d4ba0c7b87ed (diff) |
switched Linux to use common hid_output_event()
svn path=/trunk/externals/hcs/hid/; revision=2843
Diffstat (limited to 'hid.c')
-rw-r--r-- | hid.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) |