napari-spacemouse
3DConnexion SpaceMouse support for napari
Expected to work for any product in the SpaceMouse line, but only tested on a SpaceNavigator. Currently only tested on macOS.
Usage
To install globally in napari:
import napari_spacemouse
# start listening to the spacemouse
napari_spacemouse.install()
# stop listening to the spacemouse
napari_spacemouse.uninstall()
Alternatively, there is SpaceMouse widget that can be used to toggle
support for the mouse, and provide some configuration.
Important note for macOS
Currently, this plugin requires that the 3DconnexionHelper driver not be running, otherwise you will likely get an OSError when activating the plugin. To fix this:
- Open
/Applications/Utilities/Activity Monitor/ - Search for
3DconnexionHelper - If it's running, highlight it and quit it using the X button at the top right.
When done, you can start it again anytime at /Applications/3Dconnexion/3DconnexionHelper.
(Eventually this could be fixed, but we need to use the actual Connexion framework API instead of direct USB reads.)
Metadata
Release files for napari-spacemouse 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_spacemouse-0.1.0.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_spacemouse-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / napari_spacemouse-0.1.0.tar.gz
| Download URL | napari_spacemouse-0.1.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adfec3a592db863ff38f1f86c995dc16961550ab6404248a55f5846ee2b23f33
|
|
BLAKE2b-256 checksum How to use checksums |
96a9a6d4902be8c7e3569486532a7defdb855e716be44a68f2e4fdcf9a763a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / napari_spacemouse-0.1.0-py2.py3-none-any.whl
| Download URL | napari_spacemouse-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0c059aa677cf8ae0b78dfa8cf1f6b5b363f5cb7f55fce43eeb8725e7d98e078b
|
|
BLAKE2b-256 checksum How to use checksums |
5b4141965bac31862480724c867f74f50692977684b7c04b52e769dd01bd91cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|