aboutsummaryrefslogtreecommitdiff
path: root/hid.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-22 05:43:17 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-22 05:43:17 +0000
commitf59333ff17f17d8fa9e983ccee47f43cd77a3040 (patch)
tree70d61e79f5bf94dde7f67621e8e7bd6f946f1cff /hid.h
parent80bdb3696f585bd27168675a2cea0bc13b60b350 (diff)
started the process of organizing things for cross-platformness; sketched out MacOS X HID Manager implementation using SuperCollider3's SC_HID.cpp
svn path=/trunk/externals/hcs/hid/; revision=2140
Diffstat (limited to 'hid.h')
-rw-r--r--hid.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/hid.h b/hid.h
new file mode 100644
index 0000000..be81e1b
--- /dev/null
+++ b/hid.h
@@ -0,0 +1,26 @@
+
+#include <m_pd.h>
+
+#include "input_arrays.h"
+
+static char *version = "$Revision: 1.1 $";
+
+/*------------------------------------------------------------------------------
+ * CLASS DEF
+ */
+static t_class *hid_class;
+
+typedef struct _hid
+{
+ t_object x_obj;
+ t_int x_fd;
+ t_symbol *x_devname;
+ t_clock *x_clock;
+ t_int x_read_ok;
+ t_int x_started;
+ t_int x_delay;
+ t_int x_vendorID;
+ t_int x_productID;
+ t_int x_locID;
+} t_hid;
+