summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_protocol_fg/ftnoir_protocol_fg.h6
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse.h7
2 files changed, 6 insertions, 7 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.h b/ftnoir_protocol_fg/ftnoir_protocol_fg.h
index 5c2531be..40a83384 100644
--- a/ftnoir_protocol_fg/ftnoir_protocol_fg.h
+++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.h
@@ -48,6 +48,9 @@ public:
~FTNoIR_Protocol();
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
+ QString getGameName() {
+ return "FlightGear";
+ }
private:
bool blnConnectionActive;
@@ -61,9 +64,6 @@ private:
QHostAddress destIP; // Destination IP-address
int destPort; // Destination port-number
void loadSettings();
- QString getGameName() {
- return "FlightGear";
- }
};
// Widget that has controls for FTNoIR protocol client-settings.
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
index b537fc4e..5aad9c01 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse.h
@@ -61,7 +61,9 @@ public:
~FTNoIR_Protocol();
bool checkServerInstallationOK();
void sendHeadposeToGame( double *headpose, double *rawheadpose );
-
+ QString getGameName() {
+ return "Mouse tracker";
+ }
private:
HANDLE h;
INPUT MouseStruct;
@@ -70,9 +72,6 @@ private:
FTN_AngleName Mouse_Y;
FTN_AngleName Mouse_Wheel;
void loadSettings();
- QString getGameName() {
- return "Mouse tracker";
- }
};
// Widget that has controls for FTNoIR protocol client-settings.