diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-01-02 20:45:40 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-01-02 20:45:40 +0000 |
commit | b0bcd9b29958f455d0fdda415a0ab0510bcd0a1f (patch) | |
tree | 9c80060d6676c1fe4b037ed180b9f09158f39d23 | |
parent | 6c512b8ebcf07f655dc2d76b7d1d52158c52450f (diff) |
fixed ff function return values across files
svn path=/trunk/externals/io/hidio/; revision=7127
-rw-r--r-- | hidio.h | 6 | ||||
-rw-r--r-- | hidio_windows.c | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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; } |