3dConnexion Space Navigator on Mac

Hi.

I’m a student writing a VJ app in Java/JOGL and I’d like to be able to hook up a Space Navigator and do some cool things. I think I have jinput installed correctly and when I run:

java net.java.games.input.test.ControllerTextTest

I get this:

Controller Env = net.java.games.input.DefaultControllerEnvironment@dd5b
Loading: net.java.games.input.OSXEnvironmentPlugin

And it lists all my peripherals including usb mouse and bluetooth keyboard but no Space Navigator.

Also not listed when running this:


java net.java.games.input.test.RumbleTest
Loading: net.java.games.input.OSXEnvironmentPlugin
Scanning Apple Internal Keyboard / Trackpad
Found 0 rumblers
Scanning Trackpad
Found 0 rumblers
Scanning Apple Internal Keyboard / Trackpad
Found 0 rumblers
Scanning matt’s keyboard
Found 0 rumblers
Scanning USB-PS/2 Optical Mouse
Found 0 rumblers

Also using net.java.games.input.test.ControllerReadTest, it seems to detect movement from the internal trackpad on my laptop and built in keyboard & bluetooth keyboard, but doesnt detect movement from my usb mouse.

Has anyone got this working on a Mac or can shed any light on this? Any help would be much appreciated.

Cheers.

Matt

Hi there, I’m also looking to get the spacenavigator up and running in JInput on Mac, I see that something was able to be done to make it work on Linux: http://www.java-gaming.org/forums/index.php?topic=16915.0
Is it possible the same fix would work on Mac?

is the libjinput-osx.jnilib loaded ? and is jutils present in the class path?

Yes, and I have no problem reading from mice/keyboards/joysticks/tablets. Just the spacenavigator isn’t detected as a device.