aboutsummaryrefslogtreecommitdiff
path: root/hid.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-06 21:15:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-06 21:15:04 +0000
commit97f8e42015cdefa311e734856e4f66323dc521cd (patch)
tree67a55fa7432cc6272187537cf831d285cd845e28 /hid.h
parent3b32b7a05d935dc75321a5f7bfab6aad19d07fff (diff)
things are working MacOS X, but there are lots of bugs
svn path=/trunk/externals/hcs/hid/; revision=2227
Diffstat (limited to 'hid.h')
-rw-r--r--hid.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/hid.h b/hid.h
index a696f1d..225ed42 100644
--- a/hid.h
+++ b/hid.h
@@ -11,7 +11,7 @@
*/
#include "input_arrays.h"
-static char *version = "$Revision: 1.6 $";
+static char *version = "$Revision: 1.7 $";
/*------------------------------------------------------------------------------
* CLASS DEF
@@ -24,11 +24,11 @@ typedef struct _hid
t_int x_fd;
t_symbol *x_devname;
t_int x_device_number;
+ long x_locID;
t_clock *x_clock;
- t_int x_read_ok;
- t_int x_started;
t_int x_delay;
- long x_locID;
+ t_int x_started;
+ t_int x_device_open;
} t_hid;
@@ -50,5 +50,6 @@ t_int hid_open_device(t_hid *x, t_int device_number);
t_int hid_close_device(t_hid *x);
t_int hid_devicelist_refresh(t_hid* x);
t_int hid_output_events(t_hid *x) ;
+void hid_platform_specific_free(t_hid *x);
#endif /* #ifndef _HID_H */