From da9ebb50e33a6f0996835a4a0003071cd547e3f6 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Thu, 14 May 2026 17:23:31 +0200 Subject: [PATCH] Fix inverted tilt behaviour --- src/activities/reader/ReaderUtils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/activities/reader/ReaderUtils.h b/src/activities/reader/ReaderUtils.h index 27877f15..f62b720f 100644 --- a/src/activities/reader/ReaderUtils.h +++ b/src/activities/reader/ReaderUtils.h @@ -96,8 +96,8 @@ inline PageTurnResult detectPageTurn(const MappedInputManager& input) { // because the button event system delays short events until the double-click window expires. using BA = CrossPointSettings::BUTTON_ACTION; using TA = CrossPointSettings::TILT_GESTURE_ACTION; - const bool tiltNegative = SETTINGS.tiltPageTurn && halTiltSensor.wasTiltedBack(); - const bool tiltPositive = SETTINGS.tiltPageTurn && halTiltSensor.wasTiltedForward(); + const bool tiltNegative = SETTINGS.tiltPageTurn && halTiltSensor.wasTiltedForward(); + const bool tiltPositive = SETTINGS.tiltPageTurn && halTiltSensor.wasTiltedBack(); bool tiltPrev = false; bool tiltNext = false; auto applyTiltAction = [&](uint8_t action) {