summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-06-04 12:38:20 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-06-04 12:38:20 +0000
commite5fbf0ed808cc530bd411251d32159c9f04522d8 (patch)
tree4ef5c1fba646d9a4d0f789c03bc1e67a48ecbb31 /FaceTrackNoIR/tracker.h
parent010d82e9392bd2fb5cafe6fbae03c9cdc301a2f8 (diff)
Eagle Dynamics API implemented, added some 'nice to haves'.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@88 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index 924f5542..79af07a1 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -79,7 +79,8 @@ enum FTNoIR_Client {
enum FTNoIR_Face_Tracker {
FT_SM_FACEAPI = 0,
- FT_FTNOIR = 1
+ FT_FTNOIR = 1,
+ FT_VISAGE = 2
};
enum FTNoIR_Tracker_Status {
@@ -213,7 +214,7 @@ public:
void loadSettings(); // Load settings from the INI-file
bool isShortKeyPressed( TShortKey *key, BYTE *keystate );
- static bool getTrackingActive() { return do_tracking; }
+ static bool getTrackingActive() { return do_tracking && confid; }
static bool getAxisReverse() { return do_axis_reverse; }
static bool getConfid() { return confid; }