Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX
Posted by
Xerxes Rånby on
Mar 05, 2013; 7:50am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028487.html
krishnak wrote
With reference to the Keyboard inputs on the PI and JMonkey- when I press the keys I do get a log message on the console about the key pressed. But it doesn't seem to get transferred to the default JMonkey actions. i.e I have flycam On but the ASDW keys do not move the camera. The console though gets all the key events . This is true with and with out X. Any thoughts.
Edit: If I was unclear, if I run the code on a PC using JOGL renderer it picks up the ASDW keys and moves the camera which doesn't happen on the Pi
Its a mid air collision of code changes.
In the latest JOGL test branch we are reducing the number of generated keyboard events to make keyboard/mouse input less CPU hungry.
https://jogamp.org/bugzilla/show_bug.cgi?id=688I believe the X11 backend and JMonkey is fixed to only use the keyboard RELEASE event while I have to patch the LinuxEventDeviceTracker that reads keyboard input from console to populate the required information into the RELEASE events so that this bug is fixed for the Rasberry Pi as well.