SmallTouchFilter default 20 pixels?

Richard Bair richard.bair at oracle.com
Fri Jan 9 19:08:12 UTC 2015


This may be due to the fact that on Android the OS does a much better job of detecting and filtering touch events such that the application only gets good events, whereas on other embedded systems it is a real mess and we had to do some of our own filtering.

> On Jan 9, 2015, at 10:49 AM, Johan Vos <johan at lodgon.com> wrote:
> 
> The Monocle Touch handling will by default add a SmallMoveTouchFilter (see
> TouchInput:75), and this SmallMoveTouchFilter will by default block touch
> events if the touch event is within a radius of 20 pixels from the previous
> one.
> 
> Both the addition of SmallMoveTouchFilter as well as the radius of the
> SmallMoveTouchFilter can easily be configured using system properties, but
> it sounds strange to me that the default will ignore touch events that are
> less than 20 pixels apart? On Android, we have to set the default to 1
> pixel in order to get responsive applications.
> 
> - Johan



More information about the openjfx-dev mailing list