summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-17 17:54:15 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-17 17:54:15 +0000
commit11493f17d0ff13d4a95da2db4ba147e64ef1224d (patch)
tree29becfaf3ead9c33a8b9aa1254d12f0775f3a89e /FaceTrackNoIR/tracker.h
parentcc3bc1c6d14de535f87e6601ed562b505d902fce (diff)
Added Mouse-keys to the ShortKeys. Needs some more testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@144 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index ce34f6d2..df259708 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -192,6 +192,11 @@ private:
static TShortKey GameZeroKey; // ShortKey to Set Game Zero
// static TShortKey AxisReverseKey; // ShortKey to reverse axis during tracking
+ static int CenterMouseKey; // ShortKey to Center headposition
+ static int StartStopMouseKey; // ShortKey to Start/stop tracking
+ static int InhibitMouseKey; // ShortKey to disable one or more axis during tracking
+ static int GameZeroMouseKey; // ShortKey to Set Game Zero
+
// Flags to start/stop/reset tracking
static bool confid; // Tracker data is OK
static bool do_tracking; // Start/stop tracking, using the shortkey
@@ -238,6 +243,7 @@ public:
QString getGameProgramName(); // Get the ProgramName from the game and display it.
void loadSettings(); // Load settings from the INI-file
bool isShortKeyPressed( TShortKey *key, BYTE *keystate );
+ bool isMouseKeyPressed( int *key, DIMOUSESTATE *mousestate );
static bool getTrackingActive() { return do_tracking && confid; }
static bool getAxisReverse() { return do_axis_reverse; }