Is there an example of how Lemur's InputManager should be used?

You should use InputMapper instead.
InputManager = JME’s primitive input management.
InputMapper = Lemur’s more advanced input management.

This Lemur Gem uses InputMapper to control a cammera:

…you can see from there how to map keys to functions and stuff.

Edit: but note that InputMapper also has some convenience methods that use reflection:
inputMapper.addDelegate(yourFunctionId, theButton, “click”);
…might work.

http://jmonkeyengine-contributions.github.io/Lemur/javadoc/Lemur/com/simsilica/lemur/input/InputMapper.html#addDelegate-com.simsilica.lemur.input.FunctionId-java.lang.Object-java.lang.String-

2 Likes