InfiniTime
InfiniTime copied to clipboard
Short swipes, long swipes, custom swipes?
Currently what constitutes a swipe is entirely determined by the touch controller. For a swipe to be registered, there only needs to be a tiny bit of travel. I experimented with making swipes require more distance in https://github.com/InfiniTimeOrg/InfiniTime/issues/710#issuecomment-932120451 and found it was simple to do in software, but had other consequences due to the way LVGL works.
Now I had the idea that we could have separate touch events for long and short swipes, to get the best of both worlds. We could require long swipes to move away from the watchface, which may fix many issues regarding accidental touches being registered. Would this be useful elsewhere?
Furthermore, since this would require a software solution, it could also report the accurate position and length of the swipe. This could be used to require the swipe to close an app to start from the top edge of the screen for example. However, since the screen is very small, this might not be very useful or worth the complication. Let me know if you have ideas about how this could be useful.