public JoystickButton getButton() {
        return button;
    }
Returns the JoystickButton that triggered this event.

@see com.jme3.input.JoystickAxis#assignAxis(java.lang.String, java.lang.String)
@return the button
jme3-core/src/main/java/com/jme3/input/event/JoyButtonEvent.java