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.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/facetracknoir/global-shortcuts.cpp b/facetracknoir/global-shortcuts.cpp
index e96530ae..1c10b160 100644
--- a/facetracknoir/global-shortcuts.cpp
+++ b/facetracknoir/global-shortcuts.cpp
@@ -1,9 +1,11 @@
#include "facetracknoir/facetracknoir.h"
#if defined(_WIN32)
-#include <windows.h>
-#define DIRECTINPUT_VERSION 0x800
-#include <dinput.h>
+# ifndef DIRECTINPUT_VERSION
+# define DIRECTINPUT_VERSION 0x800
+# endif
+# include <windows.h>
+# include <dinput.h>
QList<int> global_windows_key_sequences =
QList<int>()