summaryrefslogtreecommitdiffhomepage
path: root/opentrack-dinput/keybinding-worker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-dinput/keybinding-worker.hpp')
-rw-r--r--opentrack-dinput/keybinding-worker.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack-dinput/keybinding-worker.hpp b/opentrack-dinput/keybinding-worker.hpp
index c0d61c2f..623875ac 100644
--- a/opentrack-dinput/keybinding-worker.hpp
+++ b/opentrack-dinput/keybinding-worker.hpp
@@ -17,6 +17,7 @@
#include <QMutex>
#include <QWidget>
#include <QMainWindow>
+#include <QDebug>
#include <functional>
#include <vector>
@@ -46,9 +47,11 @@ private:
std::vector<std::unique_ptr<fun>> receivers;
QMutex mtx;
QMainWindow fake_main_window;
+ dinput_handle::di_t din;
volatile bool should_quit;
void run() override;
+ void init();
KeybindingWorker();
static KeybindingWorker& make();