summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/global-shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/global-shortcuts.cpp')
-rw-r--r--facetracknoir/global-shortcuts.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/facetracknoir/global-shortcuts.cpp b/facetracknoir/global-shortcuts.cpp
index 286200c0..1c10b160 100644
--- a/facetracknoir/global-shortcuts.cpp
+++ b/facetracknoir/global-shortcuts.cpp
@@ -1,9 +1,12 @@
#include "facetracknoir/facetracknoir.h"
-#if defined(__WIN32) || defined(_WIN32)
-#include <windows.h>
-#include <strmif.h>
-#include <dshow.h>
+#if defined(_WIN32)
+# ifndef DIRECTINPUT_VERSION
+# define DIRECTINPUT_VERSION 0x800
+# endif
+# include <windows.h>
+# include <dinput.h>
+
QList<int> global_windows_key_sequences =
QList<int>()
<< 0