From eaacd47152e280baf330f88591dda6a04953a628 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sat, 17 Jul 2010 12:20:26 +0000 Subject: Added TrackIR support git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@15 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FaceApp.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FaceTrackNoIR/FaceApp.cpp') diff --git a/FaceTrackNoIR/FaceApp.cpp b/FaceTrackNoIR/FaceApp.cpp index 433e9b2d..231a07c9 100644 --- a/FaceTrackNoIR/FaceApp.cpp +++ b/FaceTrackNoIR/FaceApp.cpp @@ -1,6 +1,7 @@ #include "FaceApp.h" #include "windows.h" #include "FTTypes.h" +#include "FTIRTypes.h" #include // @@ -41,6 +42,8 @@ void FaceApp::SetupEventFilter( FaceTrackNoIR *window ) { mainWindow = window; msgID_FTClient = RegisterWindowMessageA ( FT_PROGRAMID ); qDebug() << "FaceApp::SetupEventFilter says: Message ID =" << msgID_FTClient; + msgID_FTIR_Register = RegisterWindowMessageA ( FTIR_REGISTER_PROGRAMHANDLE ); + msgID_FTIR_UnRegister = RegisterWindowMessageA ( FTIR_UNREGISTER_PROGRAMHANDLE ); ////if ( RegisterHotKey( window->winId(), 777, MOD_WIN, VK_HOME ) ) { //// qDebug() << "FaceApp::SetupEventFilter says: RegisterHotKey HOME =" << VK_HOME; -- cgit v1.2.3