aboutsummaryrefslogtreecommitdiff
path: root/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid.c')
-rw-r--r--hid.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/hid.c b/hid.c
index 5711ea3..d8598b1 100644
--- a/hid.c
+++ b/hid.c
@@ -54,6 +54,21 @@ static void hid_open(t_hid *x, t_symbol *s, int argc, t_atom *argv);
/*------------------------------------------------------------------------------
+ * GLOBAL VARIABLES DECLARED extern IN hid.h
+ */
+t_int hid_instance_count;
+unsigned short device_count;
+
+/* this is used to test for the first instance to execute */
+double last_execute_time[MAX_DEVICES];
+
+/* store element structs to eliminate symbol table lookups, etc. */
+t_hid_element *element[MAX_DEVICES][MAX_ELEMENTS];
+/* number of active elements per device */
+unsigned short element_count[MAX_DEVICES];
+
+
+/*------------------------------------------------------------------------------
* SUPPORT FUNCTIONS
*/