aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid_linux.c')
-rw-r--r--hid_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid_linux.c b/hid_linux.c
index c6ea2f6..81d511c 100644
--- a/hid_linux.c
+++ b/hid_linux.c
@@ -389,7 +389,7 @@ t_int hid_get_events(t_hid *x)
hid_code=gensym("unknown");
}
if( hid_code && hid_input_event.type != EV_SYN )
- hid_output_event(x, ev[hid_input_event.type], hid_code->s_name,
+ hid_output_event(x, gensym(ev[hid_input_event.type]), hid_code,
(t_float)hid_input_event.value);
DEBUG(++event_counter;);
}