summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rift-080')
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.cpp10
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
index 35a268f2..9ca1206a 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
@@ -10,18 +10,18 @@
using namespace OVR;
-Rift_Tracker::Rift_Tracker() : old_yaw(0), hmd(nullptr)
+rift_tracker_080::rift_tracker_080() : old_yaw(0), hmd(nullptr)
{
}
-Rift_Tracker::~Rift_Tracker()
+rift_tracker_080::~rift_tracker_080()
{
if (hmd)
ovr_Destroy(hmd);
ovr_Shutdown();
}
-void Rift_Tracker::start_tracker(QFrame*)
+void rift_tracker_080::start_tracker(QFrame*)
{
ovrResult code;
ovrGraphicsLuid luid = {{0}};
@@ -55,7 +55,7 @@ error:
QMessageBox::NoButton);
}
-void Rift_Tracker::data(double *data)
+void rift_tracker_080::data(double *data)
{
if (hmd)
{
@@ -100,4 +100,4 @@ void Rift_Tracker::data(double *data)
}
}
-OPENTRACK_DECLARE_TRACKER(Rift_Tracker, dialog_rift_080, rift_080Dll)
+OPENTRACK_DECLARE_TRACKER(rift_tracker_080, dialog_rift_080, rift_080Dll)
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.h b/tracker-rift-080/ftnoir_tracker_rift_080.h
index 7868b2a2..e5ad9c3a 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.h
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.h
@@ -20,11 +20,11 @@ struct settings : opts {
{}
};
-class Rift_Tracker : public ITracker
+class rift_tracker_080 : public ITracker
{
public:
- Rift_Tracker();
- ~Rift_Tracker() override;
+ rift_tracker_080();
+ ~rift_tracker_080() override;
void start_tracker(QFrame *) override;
void data(double *data) override;
private: