From 0a8862934ec4c665c1b618001b182e62735654c7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 5 May 2008 16:12:32 +0000 Subject: - 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 --- hidio.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'hidio.h') 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); -- cgit v1.2.1