diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-24 01:03:55 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-24 01:03:55 +0100 |
commit | f09ff290addc66f2256534641f1dc91318da47c3 (patch) | |
tree | b86de0867edd26fff9d6424c057d9012ae66f9eb /opentrack | |
parent | c72948a8fcec675f5ddb059d6ad5e5d6c10f0691 (diff) |
api/shortcuts: don't unacquire joy handle pointlessly
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/win32-joystick.hpp | 4 |
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++) |