summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-02 23:22:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-02 23:22:18 +0200
commit50c1406c07365ce806811c63875cd361aadb97d0 (patch)
treeb4e7ed1fb6a555e2b3add2c7d3592e1a6c3acfcb /facetracknoir
parent93114dee692a83259dcc11b9228b0856988f312b (diff)
Fix compiler warnings
Diffstat (limited to 'facetracknoir')
-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;