summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/facetracknoir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index 7fd91719..df87cc8c 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -73,6 +73,8 @@ class KeybindingWorker;
#if defined(__WIN32) || defined(_WIN32)
extern QList<int> global_windows_key_sequences;
+#undef DIRECTINPUT_VERSION
+#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>
struct Key {
BYTE keycode;