summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_touch_wheel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/input/input_touch_wheel.cpp')
-rw-r--r--src/tangara/input/input_touch_wheel.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tangara/input/input_touch_wheel.cpp b/src/tangara/input/input_touch_wheel.cpp
index 75159320..ed60dd9b 100644
--- a/src/tangara/input/input_touch_wheel.cpp
+++ b/src/tangara/input/input_touch_wheel.cpp
@@ -40,9 +40,13 @@ TouchWheel::TouchWheel(drivers::NvsStorage& nvs, drivers::TouchWheel& wheel)
return true;
}),
centre_("centre", actions::select(), {}, {}, {}),
- up_("up", {}, {}, actions::scrollToTop(), {}),
+ up_("up", {}, {}, actions::scrollToTop(), actions::scrollToTop()),
right_("right", {}),
- down_("down", {}, {}, actions::scrollToBottom(), {}),
+ down_("down",
+ {},
+ {},
+ actions::scrollToBottom(),
+ actions::scrollToBottom()),
left_("left", {}, {}, actions::goBack(), {}),
is_scrolling_(false),
threshold_(calculateThreshold(nvs.ScrollSensitivity())),