protected void setButtonValue( String name, boolean isPressed ) {
            ButtonView view = buttons.get(name);
            if( view != null ) {
                if( isPressed ) {
                    view.down();
                } else {
                    view.up();
                }
            }
        }
Easier to watch for all button and axis events with a raw input listener.
jme3-examples/src/main/java/jme3test/input/TestJoystick.java