Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by Xerxes Rånby on Jan 19, 2013; 12:04pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4027941.html

noxo wrote
Wish it has support for USB dual pad
game controller soon :)
You can try compile JInput it got quite a lot of feature overlap with the LinuxEventDeviceTacker.
git clone http://github.com/JogAmp/jinput.git

The main difference between JInput and the LinuxEventDeviceTracker are:
JInput is using JNI to read from the /dev/input/event* files while the LEDT only uses pure Java.
JInput maps the events to its own JInput specific namespace while the LEDT maps to the NEWT namespace.

Ideally we would like all functionality found in JInput to generate NEWT events directly and preferably using a JNI free approach.