summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_mouse
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-17 08:04:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 08:04:59 +0200
commitb15ec9f185e600e45213b5727e9b2a28c104940f (patch)
treef2a310685aff70bf8446dbcbc1c76b2c979ccb58 /ftnoir_protocol_mouse
parent383c832723691506351b02b5ccac7e9cd26f4583 (diff)
fix win32 build breakage
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_protocol_mouse')
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp2
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
index 8601bdfd..64e010a8 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.cpp
@@ -58,7 +58,7 @@ void FTNoIR_Protocol::loadSettings() {
//
// Update Headpose in Game.
//
-void FTNoIR_Protocol::sendHeadposeToGame(double *headpose, double *rawheadpose ) {
+void FTNoIR_Protocol::sendHeadposeToGame(const double *headpose ) {
float fMouse_X = 0;
float fMouse_Y = 0;
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
index 5aad9c01..1eb80b12 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
@@ -60,7 +60,7 @@ public:
FTNoIR_Protocol();
~FTNoIR_Protocol();
bool checkServerInstallationOK();
- void sendHeadposeToGame( double *headpose, double *rawheadpose );
+ void sendHeadposeToGame( const double *headpose);
QString getGameName() {
return "Mouse tracker";
}