How to use gamepads in JME

I tend to set it up in all of mine. Using Lemur, it’s pretty easy to use the same handling code for keys, joystick, and mouse. The code doesn’t care… so it’s easy to support it.

I think my Lemur Gem camera input example shows this:

When setting up your mappings, you can even have different scales for different axes, invert them, etc… very powerful. (and you can use it without the rest of Lemur as InputMapper works on its own, too… though Lemur is pretty nice even if I do say so myself.)