Hi All,

I know that this thread is old but I didn't find an answer yet.

I have a similar issue. I'm using a Raspberry PI and a Lilliput 619AT 7" 
resistive touchscreen. The touchdriver is eGalax.
It's working well on X11 but when I run my JAVAFX application, my software 
can't get the touch events.

Running my app over SSH, and doing "cat /dev/input/event4" I can see that 
the touch events are being triggered, because it shows on the terminal some 
stuff every time I touch the screen on my JAVAFX app. So, I think the 
problem is that my JAVA app can't identify or read this events.

Do you guys have any ideia on how to solve it?

Thank you,

Sergio Soares


On Monday, December 10, 2012 12:05:03 AM UTC-3, [email protected] wrote:
>
> All,
>
>    I'm trying to create a project to run *JavaFX* applications that will 
> respond to touch events similar to a demo presented at JavaOne 2012 
> described 
> here<http://fxexperience.com/2012/10/building-the-javaone-kiosks-park-1/>. 
> Instead of obtaining the same 10" display (Chalkboard 
> Electronics<http://www.chalk-elec.com/>1024x600 LCD) similar to the demo I 
> purchased the 
> *ULCD7 Lite* by CircuitCo <http://beagleboardtoys.com> at 
> http://beagleboardtoys.com/wiki/index.php?title=ULCD7_Lite . Oracle 
> engineers have been gracious in giving me advice while following instructions 
> <http://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html>(JavaFX 
> Developer Preview for 
> ARM<http://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html>) 
> to create an Angstrom build for the screen resolution of the ULCD7 Lite. To 
> save on a lot of steps Gerrit Grunwald has created a great blog 
> post<http://harmoniccode.blogspot.com/2012/10/who-let-dogs-out.html>with 
> detailed steps and also having links to an already built Angstrom 
> image. I believe the only difference between my setup and Gerrit's is that 
> the uEnv.txt (step 5) contains the following:
>
> vram=24M dvimode="800x4...@60 mem=99M@0x80000000 mem=384M@0x88000000 
> omapfb.vram=0:12M,1:8M,2:4M" <javascript:>
> optargs="consoleblank=0"
> console="console=ttyO2,115200n8"
> mmcroot="/dev/mmcblk0p2"
>
>
> When finished with all the steps without any errors, you will notice the 
> touch screen works in the window manager (*Gnome*). Having said that I'm 
> not sure if it is actual native touch events or points converted to mouse 
> events. Either way when you run a JavaFX application demo (*BouncingBalls*) 
> the touch events aren't being received at all. When using your mouse to 
> click in the JavaFX application window I'll notice mouse events work 
> correctly.
>
> For those interested in low level touch events I wanted to point out an 
> excerpt from the JavaFX Developer Preview for 
> ARM<http://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html>:
>
> *Note on Touch Display:* The JavaFX developer preview for ARM supports 
>> both mouse and touch input. However, many touch screens are not well 
>> supported by Linux. In order to work, the touch screen must have a Linux 
>> driver that creates a device file under /dev/input and sends EV_KEY, EV_ABS 
>> and EV_SYN events. The following touch screens are known to work:
>>
>>    - 3M M2256PW
>>    - Chalkboard Electronics 1024x600 LCD display with touch screen for 
>>    BeagleBoard xM. 
>>    The 1280x800 model may also work, although the BeagleBoard xM might 
>>    need to use a reduced refresh rate in order to drive this screen.
>>
>>
>>
> I created this post as a "Discussion" and not a "Question", because I want 
> to (not only) learn but share with others on solving this ISSUE. Hopefully 
> each vendor, community leader, hobbyist and/or OS software build expert can 
> assist in integrating all these parts. 
>
> Shown below is my parts list:
> *Hardware:*
>
>    - BeagleBoard-xM (Rev C BB-XM-00), 
>    - ULCD7 
> Lite<http://beagleboardtoys.com/wiki/index.php?title=ULCD7_Lite>(touch 
> screen) 
>    - 16gb SD class10 card
>    - 5v 2amp power adapter
>    - USB (keyboard and mouse)
>
> *Software:*
>
>    - Virtual Box (Ubuntu 12.04)
>    - Angstrom
>       - CircutiCo image Angstrom 
> 01-11-12<http://beagleboardtoys.com/wiki/files/ulcd7/BeagleBoard-xM_RevC1_ULCD7-Lite_01_11_12.7z>
>       - Gerrit Grunwald's blog Angstrom 
> image<http://harmoniccode.blogspot.com/2012/10/who-let-dogs-out.html>
>    - JavaFX Preview sdk <http://jdk7.java.net/fxarmpreview/>
>    - JavaFX 
> demos<http://www.java.net/download/JavaFXarm/javafx_samples-8_0_0-ea-linux.zip>
>    
>
> Thanking you all in advance. Any help would be greatly appreciated. :-)
>
> Carl
> Twitter: @carldea
> Blog: http://carlfx.wordpress.com 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to