summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/win32-joystick.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/opentrack/win32-joystick.hpp b/opentrack/win32-joystick.hpp
index ed0b4412..b08da6c8 100644
--- a/opentrack/win32-joystick.hpp
+++ b/opentrack/win32-joystick.hpp
@@ -103,8 +103,6 @@ struct OPENTRACK_EXPORT win32_joy_ctx
for (int i = 0; i < 8; i++)
axes[i] = values[i];
- (void) joy_handle->Unacquire();
-
return true;
}
@@ -242,8 +240,6 @@ private:
return false;
}
- (void) joy_handle->Unacquire();
-
first |= first_timer.elapsed_ms() > first_event_delay_ms;
for (int i = 0; i < 128; i++)