From b89699c7551f768bf4ff47820543f8c7b8c794af Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 4 Nov 2016 19:15:54 +0100 Subject: modules: make names unique --- proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'proto-fsuipc/ftnoir_protocol_fsuipc.cpp') diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp index 92d9bd88..11d954ab 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp @@ -13,7 +13,7 @@ #include -FTNoIR_Protocol::FTNoIR_Protocol() +fsuipc::fsuipc() { prevPosX = 0.0f; prevPosY = 0.0f; @@ -23,14 +23,14 @@ FTNoIR_Protocol::FTNoIR_Protocol() prevRotZ = 0.0f; } -FTNoIR_Protocol::~FTNoIR_Protocol() +fsuipc::~fsuipc() { FSUIPC_Close(); FSUIPCLib.unload(); } template -int FTNoIR_Protocol::scale2AnalogLimits(t x, t min_x, t max_x) +int fsuipc::scale2AnalogLimits(t x, t min_x, t max_x) { t local_x = x; @@ -55,7 +55,7 @@ static inline bool check_float_fresh(t x, t y) return std::fabs(x - y) >= eps; } -void FTNoIR_Protocol::pose(const double *headpose ) { +void fsuipc::pose(const double *headpose ) { DWORD result; TFSState pitch; TFSState yaw; @@ -144,7 +144,7 @@ void FTNoIR_Protocol::pose(const double *headpose ) { prevRotZ = virtRotZ; } -bool FTNoIR_Protocol::correct() +bool fsuipc::correct() { qDebug() << "correct says: Starting Function"; @@ -163,4 +163,4 @@ bool FTNoIR_Protocol::correct() return true; } -OPENTRACK_DECLARE_PROTOCOL(FTNoIR_Protocol, FSUIPCControls, FTNoIR_ProtocolDll) +OPENTRACK_DECLARE_PROTOCOL(fsuipc, FSUIPCControls, fsuipcDll) -- cgit v1.2.3