public void reloadJoysticks() {
        joysticks.clear();

        InputManager inputManager = (InputManager) listener;

        Joystick[] joysticks = loadJoysticks(inputManager);
        inputManager.setJoysticks(joysticks);
    }
The LWJGL implementation of {@link JoyInput}.

@author Daniel Johansson (dannyjo)
@since 3.1
jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwJoystickInput.java