From f59333ff17f17d8fa9e983ccee47f43cd77a3040 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 22 Oct 2004 05:43:17 +0000 Subject: 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 --- hid.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hid.h (limited to 'hid.h') 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 + +#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; + -- cgit v1.2.1