summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-12 17:07:59 +0200
committerStanislaw Halik <sthalik@CROOKED-SCHEMER>2016-08-12 17:11:41 +0200
commit13a18b149764509a3f460be86590250cdcf690fb (patch)
treee175a57dd24b2516b96fd34fb138380508044a19 /proto-vjoystick
parentc63c29d0e09a939c45f2a209ec7c6f0998138589 (diff)
proto/vjoystick: skip on the expensive checks
Diffstat (limited to 'proto-vjoystick')
-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()