aboutsummaryrefslogtreecommitdiff
path: root/hid.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-28 04:29:58 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-28 04:29:58 +0000
commitd4e504ebf32d62232b316bb819800ecd513cebb3 (patch)
tree94058163fdcb90e4fd8990e5a45798a0e5d6493d /hid.c
parent32af9ff6bac9b6991f00726b9d13d4ba0c7b87ed (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.c6
1 files changed, 2 insertions, 4 deletions
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)