aboutsummaryrefslogtreecommitdiff
path: root/hid_linux.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-27 23:12:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-27 23:12:51 +0000
commit0d73c7d8ebc049bf080d28f0c0f96861f4fe2312 (patch)
tree001b0afdf03e68de637ecd4a869ab65dc96669a7 /hid_linux.c
parentc20ee1f2878608e9417c9a00c487fa0fbd7837a2 (diff)
added some status reporting, and got all the different methods for opening working on Mac OS X; time to fix GNU/Linux now...
svn path=/trunk/externals/hcs/hid/; revision=5145
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;);
}