User Tools

Site Tools



Fixing Multiple Touch Events in JavaFX

It has come to our attention that, on the ComfilePi, JavaFX applications will react to a single touch with multiple touch events. This symptom only affects JavaFX applications; Qt, GTK+, X Windows, and other applications do not exhibit this symptom.

To work around this symptom on the ComfilePi use the following procedure.

  1. Run sudo TouchMode 81 on the ComfilePi.

That will program the touch hardware to post touch events compatible with JavaFX applications. As a side effect, however, other non-JavaFX applications will exhibit strange touch behavior. To remedy that, and return the touch hardware to its default behavior, simply run sudo TouchMode 177.

comfilepi/fixing_multiple_touch_events_in_javafx/index.txt · Last modified: 2017/07/26 17:19 by COMFILE Technology