summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.ui14
-rw-r--r--FaceTrackNoIR/tracker.cpp3
2 files changed, 10 insertions, 7 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.ui b/FaceTrackNoIR/FaceTrackNoIR.ui
index e4fd2a7c..8c3db4a4 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.ui
+++ b/FaceTrackNoIR/FaceTrackNoIR.ui
@@ -342,7 +342,7 @@ Support FaceTrackNoIR!</string>
<widget class="QLCDNumber" name="lcdNumOutputPosX">
<property name="geometry">
<rect>
- <x>114</x>
+ <x>112</x>
<y>34</y>
<width>50</width>
<height>21</height>
@@ -370,7 +370,7 @@ Support FaceTrackNoIR!</string>
<widget class="QLCDNumber" name="lcdNumOutputPosY">
<property name="geometry">
<rect>
- <x>114</x>
+ <x>112</x>
<y>52</y>
<width>50</width>
<height>21</height>
@@ -398,7 +398,7 @@ Support FaceTrackNoIR!</string>
<widget class="QLCDNumber" name="lcdNumOutputPosZ">
<property name="geometry">
<rect>
- <x>114</x>
+ <x>112</x>
<y>70</y>
<width>50</width>
<height>21</height>
@@ -474,7 +474,7 @@ Support FaceTrackNoIR!</string>
<widget class="QLabel" name="lblRotZ">
<property name="geometry">
<rect>
- <x>166</x>
+ <x>164</x>
<y>74</y>
<width>20</width>
<height>16</height>
@@ -490,7 +490,7 @@ Support FaceTrackNoIR!</string>
<widget class="QLabel" name="lblRotX">
<property name="geometry">
<rect>
- <x>168</x>
+ <x>166</x>
<y>35</y>
<width>20</width>
<height>16</height>
@@ -506,9 +506,9 @@ Support FaceTrackNoIR!</string>
<widget class="QLabel" name="lblRotY">
<property name="geometry">
<rect>
- <x>166</x>
+ <x>164</x>
<y>55</y>
- <width>22</width>
+ <width>25</width>
<height>16</height>
</rect>
</property>
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp
index 1dd2cf1b..2c09917b 100644
--- a/FaceTrackNoIR/tracker.cpp
+++ b/FaceTrackNoIR/tracker.cpp
@@ -424,6 +424,9 @@ bool bTracker2Confid = false;
if(::WaitForSingleObject(m_StopThread, 0) == WAIT_OBJECT_0)
{
dinkeyboard->Unacquire(); // Unacquire keyboard
+ dinkeyboard->Release();
+ dinmouse->Unacquire(); // Unacquire mouse
+ dinmouse->Release();
din->Release(); // Release DirectInput
// Set event