Description:
A couple of months ago I bought SpaceMouse Pro Wireless, a 6DoF (6-Degrees-of-Freedom) CAD/3D modelling device, for work with FreeCAD/Blender (full list of supported applications). On my Linux system I have to use spacenavd because it's much better peace of software in comparison to official Linux driver from back in 2014. This is what I've figured out:
Spacenavd doesn't recognize device properly:
I had to create an issue in spacenavd project and patch source code till mainteiners find a better way to recognize different SpaceMouse models:
--- a/src/dev.c 2023-11-18 00:33:23.715800767 +0300
+++ b/src/dev.c.new 2023-11-18 00:34:05.277380134 +0300
@@ -76,7 +76,7 @@
{{0x256f, 0xc62e}, DEV_SMW, DF_SWAPYZ | DF_INVYZ, 0}, /* spacemouse wireless (USB cable) */
{{0x256f, 0xc62f}, DEV_SMW, DF_SWAPYZ | DF_INVYZ, 0}, /* spacemouse wireless receiver */
{{0x256f, 0xc631}, DEV_SMPROW, DF_SWAPYZ | DF_INVYZ, bnhack_smpro}, /* spacemouse pro wireless */
- {{0x256f, 0xc632}, DEV_SMPROW, DF_SWAPYZ | DF_INVYZ, bnhack_smpro}, /* spacemouse pro wireless receiver */
+ {{0x256f, 0xc652}, DEV_SMPROW, DF_SWAPYZ | DF_INVYZ, bnhack_smpro}, /* spacemouse pro wireless receiver */
{{0x256f, 0xc633}, DEV_SMENT, DF_SWAPYZ | DF_INVYZ, bnhack_sment}, /* spacemouse enterprise */
{{0x256f, 0xc635}, DEV_SMCOMP, DF_SWAPYZ | DF_INVYZ, 0}, /* spacemouse compact */
{{0x256f, 0xc636}, DEV_SMMOD, DF_SWAPYZ | DF_INVYZ, 0}, /* spacemouse module */
Support by other applications:
For working with SpaceMouse an application must be built with libspnav support, but what to do with other applications which are not aware of 6DoF devices ? Luckily, there is such a project as relabsd that allows to turn an input device into a joystick device. This means such applications as FlightGear can be used with SpaceMouse.
Watch Google Flight Simulator with SpaceMouse Pro Wireless on Youtube