Login  Register

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

Posted by Xerxes Rånby on Jan 17, 2013; 3:01am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4027880.html

noxo wrote
Would be nice to start work on that console based input listener...
I have started some work on a NEWT LinuxEventDeviceTracker, the keyboard parser is about done but it needs testing.
https://gist.github.com/ec17597f5c079708ce72

java -cp jogl/build/jar/jogl-all.jar:gluegen/build/gluegen-rt.jar jogamp.newt.driver.linux.LinuxEventDeviceTracker

This tracker is intended to parse all of the Linux /dev/input/event* files but in the version posted here it currently only track one hardcoded file name.

The event dev files are nice they contain events from all keyboard, mouse wheel, mouse, joystick, audio jack connections, power buttons etc connected to a linux system, all using the same.. easy to parse event interface!
http://www.kernel.org/doc/Documentation/input/input.txt
http://www.kernel.org/doc/Documentation/input/event-codes.txt