From b0bcd9b29958f455d0fdda415a0ab0510bcd0a1f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 2 Jan 2007 20:45:40 +0000 Subject: fixed ff function return values across files svn path=/trunk/externals/io/hidio/; revision=7127 --- hidio.h | 6 +++--- hidio_windows.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hidio.h b/hidio.h index ffd68a4..30cd685 100644 --- a/hidio.h +++ b/hidio.h @@ -42,7 +42,7 @@ typedef void t_clock; #define HIDIO_MAJOR_VERSION 0 #define HIDIO_MINOR_VERSION 0 -/* static char *version = "$Revision: 1.16 $"; */ +/* static char *version = "$Revision: 1.17 $"; */ /*------------------------------------------------------------------------------ * MACRO DEFINES @@ -194,8 +194,8 @@ extern short get_device_number_from_usage(short device_number, unsigned short usage); /* cross-platform force feedback functions */ -extern t_int hidio_ff_autocenter(t_hidio *x, t_float value); -extern t_int hidio_ff_gain(t_hidio *x, t_float value); +extern void hidio_ff_autocenter(t_hidio *x, t_float value); +extern void hidio_ff_gain(t_hidio *x, t_float value); extern t_int hidio_ff_motors(t_hidio *x, t_float value); extern t_int hidio_ff_continue(t_hidio *x); extern t_int hidio_ff_pause(t_hidio *x); diff --git a/hidio_windows.c b/hidio_windows.c index 8d8ec9c..c4c24d8 100644 --- a/hidio_windows.c +++ b/hidio_windows.c @@ -520,13 +520,13 @@ void hidio_output_device_name(t_hidio *x, char *manufacturer, char *product) /* ------------------------------------------------------------------------------ */ /* cross-platform force feedback functions */ -t_int hidio_ff_autocenter( t_hidio *x, t_float value ) +void hidio_ff_autocenter( t_hidio *x, t_float value ) { return EXIT_SUCCESS; } -t_int hidio_ff_gain( t_hidio *x, t_float value ) +void hidio_ff_gain( t_hidio *x, t_float value ) { return EXIT_SUCCESS; } -- cgit v1.2.1