Welcome to the jinput extension for QuPath!
This QuPath extension adds advanced input controller support for browsing whole slide images, using the jinput API for game controller discovery and polled input.
Currently, this will be tested with the SpaceMouse pro from 3Dconnexion (by @zindy), but was originally designed for (and only tested with) the now discontinued SpaceNavigator.
However, it does not make use of most of the 3D features, and therefore may work with other similar input controllers, including joysticks (and it may not).
The extension is intended for the (at the time of writing) not-yet-released QuPath v0.5. It is not compatible with earlier QuPath versions.
If you haven't installed any extensions before, you'll be prompted to select a QuPath user directory. The extension will then be copied to a location inside that directory.
You might then need to restart QuPath (but not your computer).
You can build the extension with
gradlew clean build
The output will be under build/libs
.
This should include the extension, jinput (in /net/java/games/*) and its associated native libraries (in /natives), all in a single jar file that can be dragged on top of QuPath for installation in the extensions directory.
When the extension is initialised, the native libraries (*.dlls in Windows, *.so in Linux and *.jni in MacOSX) are stored in a temporary folder which is removed when QuPath is closed.