You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/device
Frans de Jonge d090f3e651
[fix, UX] GestureDetector: fix multiswipe length detection (#4649)
Reported by @poire-z, cf. https://github.com/koreader/koreader/pull/4640#issuecomment-466544922

Apparently it's natural for me to make the second swipe slightly longer than the first, so I never noticed a logic issue. I did notice that it seemed slightly harder to make 4-swipe multiswipes than I expected it to be, but those are not necessarily easy gestures to make.

The problem was that I needed to prevent obviously silly gestures like west west west east. In ignoring such duplication, what I accidentally did was to ignore any further movement west after the first multiswipe direction was detected, meaning that the following swipe east could still end up as a relatively western movement overall.

By simply updating the current multiswipe slot in case of the same direction, both problems are prevented. We'll never get the same direction twice, and X moves over to where it's supposed to be on the left.
5 years ago
..
android [Android] (re)enable update downloads using full apks (#4639) 5 years ago
cervantes display network settings based on device capabilities + fix android basic network info 5 years ago
generic [fix] Fix partial refresh when coming out of ScreenSaver in landscape (#4622) 5 years ago
kindle Fix WiFi status on Kindle 6 years ago
kobo display network settings based on device capabilities + fix android basic network info 5 years ago
pocketbook display network settings based on device capabilities + fix android basic network info 5 years ago
sdl [feat] Update check (#4620) 5 years ago
sony-prstux display network settings based on device capabilities + fix android basic network info 5 years ago
gesturedetector.lua [fix, UX] GestureDetector: fix multiswipe length detection (#4649) 5 years ago
input.lua Better-than-nothing key repeat handling. 6 years ago
key.lua Refactoring hardware abstraction 10 years ago
sysfs_light.lua Enable HW dithering in a few key places (#4541) 5 years ago