diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2010-05-31 20:03:34 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2010-05-31 20:03:34 +0000 |
commit | 2625fe5af6bf71a627dcf10ff813574f8a61f994 (patch) | |
tree | 9e7dca458bcad3f40059b70b271b1cf0bb38125b /FaceTrackNoIR/tracker.h | |
parent | 88f347a6160c1f1b79840c6489fb963a4b6a8cad (diff) |
Implementing DirectInput voor keyboard afhandeling.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@3 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r-- | FaceTrackNoIR/tracker.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h index 5405b0e7..a5126818 100644 --- a/FaceTrackNoIR/tracker.h +++ b/FaceTrackNoIR/tracker.h @@ -31,9 +31,19 @@ #include <QPoint>
#include <QWaitCondition>
#include <QList>
+
+#define DIRECTINPUT_VERSION 0x0800
+#include <Dinput.h>
+
#include "FTServer.h" // Freetrack-server
#include "FGServer.h" // FlightGear-server
+// include the DirectX Library files
+//#pragma comment (lib, "d3d9.lib")
+//#pragma comment (lib, "d3dx9.lib")
+#pragma comment (lib, "dinput8.lib")
+#pragma comment (lib, "dxguid.lib")
+
using namespace sm::faceapi;
using namespace sm::faceapi::qt;
|