From a8ffbb76f3e3bbca547fccf5135323e06cae9d2a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Oct 2014 13:39:50 +0200 Subject: update modules to refactored API --- ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp') diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp index bb1076dd..97f36b67 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp @@ -25,7 +25,7 @@ void FTNoIR_Tracker::reload() g_pJoystick = nullptr; g_pDI = nullptr; - StartTracker(frame); + start_tracker(frame); } FTNoIR_Tracker::~FTNoIR_Tracker() @@ -81,7 +81,7 @@ static BOOL CALLBACK EnumJoysticksCallback( const DIDEVICEINSTANCE* pdidInstance return stop ? DIENUM_STOP : DIENUM_CONTINUE; } -void FTNoIR_Tracker::StartTracker(QFrame* frame) +void FTNoIR_Tracker::start_tracker(QFrame* frame) { QMutexLocker foo(&mtx); this->frame = frame; @@ -144,7 +144,7 @@ fail: qDebug() << "joy init failure"; } -void FTNoIR_Tracker::GetHeadPoseData(double *data) +void FTNoIR_Tracker::data(double *data) { QMutexLocker foo(&mtx); DIJOYSTATE js = {0}; -- cgit v1.2.3