aboutsummaryrefslogtreecommitdiff
path: root/hidio.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-05 16:12:32 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-05 16:12:32 +0000
commit0a8862934ec4c665c1b618001b182e62735654c7 (patch)
treee702b71d49d904040e9ae79bb02dca90b8720dc6 /hidio.h
parentd808529c1ffaa307ff24ff7ce845328032f50799 (diff)
- Got the symbolic usage page/usage tags in the write message working
- sketched out the possibility of numeric-only write messages, and write messages using a symbolic usage page and a numeric usage. svn path=/trunk/externals/io/hidio/; revision=9766
Diffstat (limited to 'hidio.h')
-rw-r--r--hidio.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/hidio.h b/hidio.h
index f6695ee..649a67e 100644
--- a/hidio.h
+++ b/hidio.h
@@ -186,8 +186,12 @@ extern t_int hidio_open_device(t_hidio *x, short device_number);
extern t_int hidio_close_device(t_hidio *x);
extern void hidio_build_device_list(void);
extern void hidio_get_events(t_hidio *x);
-extern void hidio_write_event(t_hidio *x, t_symbol *type, t_symbol *code,
- t_float instance, t_float value);
+extern void hidio_write_event_symbol_int(t_hidio *x, t_symbol *type, t_int code,
+ t_int instance, t_int value);
+extern void hidio_write_event_symbols(t_hidio *x, t_symbol *type, t_symbol *code,
+ t_int instance, t_int value);
+extern void hidio_write_event_ints(t_hidio *x, t_int type, t_int code,
+ t_int instance, t_int value);
extern void hidio_print(t_hidio* x); /* print info to the console */
extern void hidio_platform_specific_info(t_hidio *x); /* device info on the status outlet */
extern void hidio_platform_specific_free(t_hidio *x);