From 81d8edae5f24b2fd60aa68b19cd79d0c3e2a7654 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Mon, 10 Aug 2015 13:23:14 -0700 Subject: [PATCH] Add missing 5 point calibration --- interface/src/devices/EyeTracker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/devices/EyeTracker.cpp b/interface/src/devices/EyeTracker.cpp index ee688b1f38..41ca6edccc 100644 --- a/interface/src/devices/EyeTracker.cpp +++ b/interface/src/devices/EyeTracker.cpp @@ -193,6 +193,10 @@ void EyeTracker::calibrate(int points) { calibrationType = SMI_THREE_POINT_CALIBRATION; qCDebug(interfaceapp) << "Eye Tracker: Three point calibration"; break; + case 5: + calibrationType = SMI_FIVE_POINT_CALIBRATION; + qCDebug(interfaceapp) << "Eye Tracker: Five point calibration"; + break; default: qCWarning(interfaceapp) << "Eye Tracker: Invalid calibration specified"; return;