How to disable Joystick on OSX?

I am running into an issue on OSX



I am not sure but I suspect that the libjinput native library doesn't support Joysticks

And line 175 of DisplaySystem calls: JoystickInput.get();



What is the correct way to get the DisplaySystem on OSX?



TIA





java.lang.UnsatisfiedLinkError: /Users/dtrott/Applications/jME/lib/lwjgl/native/macosx/libjinput-osx.jnilib:
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at net.java.games.input.OSXEnvironmentPlugin$1.run(OSXEnvironmentPlugin.java:77)
   at java.security.AccessController.doPrivileged(Native Method)
   at net.java.games.input.OSXEnvironmentPlugin.loadLibrary(OSXEnvironmentPlugin.java:70)
   at net.java.games.input.OSXEnvironmentPlugin.<clinit>(OSXEnvironmentPlugin.java:105)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)
   at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:155)
   at org.lwjgl.input.Controllers.create(Controllers.java:71)
   at com.jme.input.joystick.lwjgl.LWJGLJoystickInput.<init>(LWJGLJoystickInput.java:59)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at com.jme.input.joystick.JoystickInput.get(JoystickInput.java:74)
   at com.jme.system.DisplaySystem.getDisplaySystem(DisplaySystem.java:175)


You can set a Provider for it, for example



JoystickInput.setProvider(DummyJoystickInput.class);

Thx, that works.