JavaFX8: Multittouch support under Linux
s.schwandter at me.com
Fri Apr 4 07:40:06 UTC 2014
thanks! I’ve tried to compile on a current Ubuntu 13.10. A default build (gradle 1.8 without parameters) works fine. With
gradle -PCOMPILE_TARGETS=x86egl sdk
however, I get the following build error:
stefan at stefan-OptiPlex-GX620:~/src/openjfx/rt$ gradle -PCOMPILE_TARGETS=x86egl sdk
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "compilePrefix" on "root project 'rt'", value: "".
FAILURE: Build failed with an exception.
Script '/home/stefan/src/openjfx/rt/buildSrc/x86egl.gradle' line: 59
* What went wrong:
A problem occurred evaluating script.
> No signature of method: java.lang.String.exists() is applicable for argument types: () values: 
Possible solutions: wait(), toList(), expand(), execute(), toList(), next()
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 9.536 secs
Am 02.04.2014 um 10:19 schrieb Daniel Blaukopf <daniel.blaukopf at oracle.com>:
> Hi Stefan,
> You have it exactly right. The touch support on the Raspberry Pi and similar devices gets events from the Linux device drivers, not from X11 or GTK. We don’t provide a binary of this configuration for x86, but if you are able to build OpenJFX then you could easily create a binary yourself (“gradle -PCOMPILE_TARGETS=x86egl sdk”). This is a hybrid binary that uses EGL/X11 for full-screen output but gets input directly from device nodes in /dev/input.
> On Apr 2, 2014, at 11:10 AM, Stefan Schwandter <s.schwandter at me.com> wrote:
>> Hi Anthony,
>> thanks for your quick reply.
>> I wonder though: it seems there’s at least preliminary touch support for OpenJFX on the Raspberry Pi - is this because it does not use X11 and/or GTK there? Is it possible to do the same on an X86-based Linux device?
>> Am 01.04.2014 um 14:02 schrieb Anthony Petrov <anthony.petrov at oracle.com>:
>>> Hi Stefan,
>>> No, currently it's not. Here's a JIRA that you may want to watch:
>>> best regards,
>>> On 4/1/2014 3:52 PM, Stefan Schwandter wrote:
>>>> Hello all!
>>>> Is multitouch-input supposed to be supported on Java 8 SE running on Linux? I use a capacitive touch screen, with a DMC controller, connected to a Ubuntu 13.10 PC via USB, and none of the sample code that I've tried seems to recognize any touch events. Under Windows 7, touch events are recognized, I can swipe, zoom, etc.
>>>> So I wonder, if multitouch input is simply not supported under Linux with JavaFX 8, or I have another problem.
>>>> Best regards,
More information about the openjfx-dev