summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-19 18:04:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-19 18:04:45 +0200
commit2a3dc6a351d4fcd04e50a957b23e638ffa4bea46 (patch)
tree19913d4f1dfa08f43c38558087298e717775ea14
parentb5f9865453a024ad1a6f5a9016a3fa8259c8d6ec (diff)
shortcuts: use win32 headers properly
-rw-r--r--facetracknoir/global-shortcuts.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/facetracknoir/global-shortcuts.cpp b/facetracknoir/global-shortcuts.cpp
index 8666333c..e96530ae 100644
--- a/facetracknoir/global-shortcuts.cpp
+++ b/facetracknoir/global-shortcuts.cpp
@@ -2,8 +2,9 @@
#if defined(_WIN32)
#include <windows.h>
-#include <strmif.h>
-#include <dshow.h>
+#define DIRECTINPUT_VERSION 0x800
+#include <dinput.h>
+
QList<int> global_windows_key_sequences =
QList<int>()
<< 0