Listen all keys input

Hello,
I am creating a GUI libraries and I am actually working on the textfields.
I wanted to know how can I listen all keys input (without mapping all KeyInput), like a listener in Swing (get the events and then read the KeyInput that I have), in order to let the user type a text ?

Thanks in advance :slight_smile:

http://hub.jmonkeyengine.org/javadoc/com/jme3/input/InputManager.html#addRawInputListener(com.jme3.input.RawInputListener)

Note: Lemur, in addition to including a GUI implementation, was designed for also being the base for GUI libraries. It provides generic mouse picking, focus-based key intercept, better input mapping, etc… It just happens to ALSO wrap that in a basic GUI library. You should consider using those parts as it will save you a lot of time and they are already done the “JME way”. Some of these classes may even move into core at some point (like BaseAppState did).

Edit: adding a link: http://hub.jmonkeyengine.org/forum/board/projects/lemur/

Thank you :slight_smile:
It’s a bit late for me to use Lemur actually, most of the libraries has been written :confused: but for a upgrade I could try, if I update my library one day ^^