HID multitouch display support in JavaFX

Michael Paus mp at jugs.org
Wed May 13 09:16:38 UTC 2020


Having proper and consistent Multitouch support on all platforms is 
certainly
an interesting goal, especially if your development is targeting a 
mobile platform. If one
could test the input behavior already on the desktop, this would be an
enormous time saver because the turn-around times 
(edit-compile-build-deploy-debug-curse)
for mobile are currently still extremely high and thus not very 
development-friendly.
I learned from your mail that the situation on Windows seems to be better
than on macOS, which is my current development environment. That gives
me an idea :-)

Am 13.05.20 um 10:15 schrieb jfx user2:
> Nobody is biting... so is anyone else out there interested in using HID
> touchscreens with JavaFX on OSX (or any other plaform) without using a
> third party driver?
>
> On Fri, May 8, 2020 at 4:18 AM jfx user2 <jfxuser2 at gmail.com> wrote:
>
>> Multitouch display support JavaFX on Windows, iOS, and Android seems
>> straightforward.  If the OS recognizes the display as multitouch, then the
>> chances are that JavaFX will also work with it since it relies on the
>> native multitouch support of the OS.
>>
>> When it comes to Linux and OSX, it's not always as easy.  Linux sometimes
>> requires device mapping.  I'm not sure if it works at all in OSX unless you
>> have specific drivers for the display.
>>
>> All of the platforms seem to support HID so maybe JavaFX could have direct
>> support for HID devices (optionally) if they are present instead of just
>> the current method.  It may also improve performance in cases where the OS
>> is just piping HID events through their own API's to support multitouch.
>> Why not just go straight to the HID source and bypass that conduit.
>>
>> This would vastly improve multitouch app development on OSX.  It would be
>> possible to connect a HID display and use it for testing apps that are
>> destined for platforms that formally support multitouch.
>>
>> Is there any work being done in this area?  Is there a bigger picture
>> (e.g. better multi-display and connect/disconnect support in JavaFX)?
>>
>> ... coming from a frustrated OSX user with lots of HID displays and no
>> easy JavaFX support.
>>
>> https://www.usb.org/hid
>>



More information about the openjfx-dev mailing list