summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--proto-vjoystick/vjoystick.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto-vjoystick/vjoystick.cpp b/proto-vjoystick/vjoystick.cpp
index 46d45bfb..d14166be 100644
--- a/proto-vjoystick/vjoystick.cpp
+++ b/proto-vjoystick/vjoystick.cpp
@@ -45,6 +45,7 @@ constexpr double handle::val_minmax[6];
void handle::init()
{
+#if 0
bool ret = true;
for (unsigned i = 0; i < axis_count; i++)
@@ -64,6 +65,9 @@ void handle::init()
}
else
(void) ResetVJD(OPENTRACK_VJOYSTICK_ID);
+#else
+ (void) ResetVJD(OPENTRACK_VJOYSTICK_ID);
+#endif
}
handle::handle()