[fingerterm] Add a minimal delay between key press and release.
This MR should solve this issue raised on TJC.
The issue is that there is no visual feedback when typing on the very edge of the screen, while the key stroke is indeed registered. It is due to the fact that when taping on edges, the tap is intercepted by the swipe detection, and returned to the application as a mouse press followed by a mouse release without any time delay in-between. So the visual feedback has no time to take place.
This MR ensures a minimal 80 ms delay between mouse press and actual key release. It is adding a timer that delays the key release code execution if press release happen within the timer running duration. I'm afraid this is a bit over-engineered but I didn't find any simpler solution. Besides, for the tests I've done, it seems that the mandatory 80ms delay is not impacting the typing speed. What do you think ?
This bug happens regularly enough to be annoying IMHO, especially when typing password (after devel-su for instance).