diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-10-22 05:43:17 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-10-22 05:43:17 +0000 |
commit | f59333ff17f17d8fa9e983ccee47f43cd77a3040 (patch) | |
tree | 70d61e79f5bf94dde7f67621e8e7bd6f946f1cff /hid.h | |
parent | 80bdb3696f585bd27168675a2cea0bc13b60b350 (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.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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; + |