diff --git a/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp b/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp index 9df9bda71b..f17caf22db 100755 --- a/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp +++ b/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp @@ -128,6 +128,10 @@ void KeyboardMouseDevice::mouseMoveEvent(QMouseEvent* event) { } bool KeyboardMouseDevice::isWheelByTouchPad(QWheelEvent* event) { + // This function is only used to track two finger swipe using the touchPad on Windows. + // That gesture gets sent as a wheel event. This wheel delta values are used to orbit the camera. + // On MacOS the two finger swipe fires touch events and wheel events. + // In that case we always return false to avoid interference between both. #ifdef Q_OS_MAC return false; #endif