diff options
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 374b45b2..4c6d619b 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -262,7 +262,7 @@ void Tracker::setup(QWidget *head, FaceTrackNoIR *parent) { server_FSUIPC->start(); // Start the thread
}
else {
- QMessageBox::information(mainApp, "FaceTrackNoIR error", "FSUIPC is not (correctly) installed!");
+ QMessageBox::information(mainApp, "FaceTrackNoIR error", "FSUIPC is not (correctly) installed!\nIt should be placed in the Modules folder of FS!");
}
}
@@ -340,13 +340,7 @@ void Tracker::run() { }
else {
//
- // Check the state of the BACK key (= Start/Stop tracking) and EQUALS key (= Center)
- //
- if ( isShortKeyPressed( &CenterKey, &keystate[0] ) ) {
- qDebug() << "Tracker::run Shortkey Center pressed!" << GetLastError();
- }
- //
- // Check the state of the BACK key (= Start/Stop tracking) and EQUALS key (= Center)
+ // Check the state of the Start/Stop key
//
if ( isShortKeyPressed( &StartStopKey, &keystate[0] ) && (!lastBackKey) ) {
Tracker::do_tracking = !Tracker::do_tracking;
@@ -382,6 +376,9 @@ void Tracker::run() { }
lastBackKey = isShortKeyPressed( &StartStopKey, &keystate[0] ); // Remember
+ //
+ // Check the state of the Center key
+ //
if ( isShortKeyPressed( &CenterKey, &keystate[0] ) && (!lastEqualsKey) ) {
Tracker::do_center = true;
qDebug() << "Tracker::run() says Center pressed";
|