diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-21 10:31:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-21 10:31:45 +0100 |
commit | 8553a64aa9eddfa9c7ed166ecb220f1a8c115b78 (patch) | |
tree | 970843c27d6079d71be15715adb984e375870e58 /dinput/keybinding-worker.hpp | |
parent | 89d5870138a4ad26c00cddb209ebe5312fe85dc3 (diff) |
dinput: get rid of refcounting
Diffstat (limited to 'dinput/keybinding-worker.hpp')
-rw-r--r-- | dinput/keybinding-worker.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/keybinding-worker.hpp b/dinput/keybinding-worker.hpp index 7b9dd259..335a5c11 100644 --- a/dinput/keybinding-worker.hpp +++ b/dinput/keybinding-worker.hpp @@ -45,7 +45,7 @@ struct OTR_DINPUT_EXPORT KeybindingWorker : private QThread KeybindingWorker& operator=(KeybindingWorker&) = delete; private: - LPDIRECTINPUTDEVICE8 dinkeyboard { nullptr }; + IDirectInputDevice8A* dinkeyboard = nullptr; win32_joy_ctx joy_ctx; std::vector<std::unique_ptr<fun>> receivers; QMutex mtx; |