aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hidio.h6
-rw-r--r--hidio_windows.c4
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;
}