|
|
@ -40,9 +40,13 @@ TouchWheel::TouchWheel(drivers::NvsStorage& nvs, drivers::TouchWheel& wheel) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
}), |
|
|
|
}), |
|
|
|
centre_("centre", actions::select(), {}, {}, {}), |
|
|
|
centre_("centre", actions::select(), {}, {}, {}), |
|
|
|
up_("up", {}, {}, actions::scrollToTop(), {}), |
|
|
|
up_("up", {}, {}, actions::scrollToTop(), actions::scrollToTop()), |
|
|
|
right_("right", {}), |
|
|
|
right_("right", {}), |
|
|
|
down_("down", {}, {}, actions::scrollToBottom(), {}), |
|
|
|
down_("down", |
|
|
|
|
|
|
|
{}, |
|
|
|
|
|
|
|
{}, |
|
|
|
|
|
|
|
actions::scrollToBottom(), |
|
|
|
|
|
|
|
actions::scrollToBottom()), |
|
|
|
left_("left", {}, {}, actions::goBack(), {}), |
|
|
|
left_("left", {}, {}, actions::goBack(), {}), |
|
|
|
is_scrolling_(false), |
|
|
|
is_scrolling_(false), |
|
|
|
threshold_(calculateThreshold(nvs.ScrollSensitivity())), |
|
|
|
threshold_(calculateThreshold(nvs.ScrollSensitivity())), |
|
|
|