3Dconnexion mouse

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
kugi
Posts: 6
Joined: Sun Dec 21, 2014 5:39 pm

Re: 3Dconnexion mouse

Post by kugi »

Guys,

I see you added a SpaceMouse Wireless codes, but not SpacemousePro Wireless.
Could you add, too:
0xC631 SpacemousePro Wireless (cable)
0xC632 SpacemousePro Wireless (receiver)

This is the same vendor.

Best,
Marcin
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: 3Dconnexion mouse

Post by wmayer »

kugi, can you check if the checked in code supports your space mouse?
kugi
Posts: 6
Joined: Sun Dec 21, 2014 5:39 pm

Re: 3Dconnexion mouse

Post by kugi »

wmayer,

Before, I post my previous letter, I checked the committed code.
SpacemousePro Wireless codes is omitted.

Best,
Marcin
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: 3Dconnexion mouse

Post by wmayer »

kugi
Posts: 6
Joined: Sun Dec 21, 2014 5:39 pm

Re: 3Dconnexion mouse

Post by kugi »

Thanks wmayer,
Now SpacemousePro Wireless is included.

Could you can confirm. In current build FreeCAD_0.15.4651_x64_dev_bin, we have this change?

Best,
Marcin
ps. How to check, on which version of file, the built was prepared? We have this correlation?
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: 3Dconnexion mouse

Post by shoogen »

kugi wrote:How to check, on which version of file, the built was prepared? We have this correlation?

Code: Select all

$ git rev-list --reverse origin/master |head -n 4651|tail -n1
95ed26715000f90b18be5afe5db21e2e5baf925f

Code: Select all

$ git log src/Gui/3Dconnexion/
commit e85935c4e31fcbf7dbfc484a4cb71e79444bcef8
Author: wmayer <wmayer@users.sourceforge.net>
Date:   Sat Mar 14 13:40:57 2015 +0100

    + add Spacemouse pro wireless

commit 878b670d52a1db52c095693e6aeb034a7f42807f
Author: getitzack <doit@unitybox.de>
Date:   Fri Mar 13 14:13:26 2015 +0100

    Update GuiApplicationNativeEventAwareWin32.cpp
    
    Added "3dconnexion space mouse wireless" support for windows. Added 3dconnexion vendor ID, product ID, and extended the strcut tag_VirtualKeys.
[...]
$ git rev-list --count e85935c4e31fc
4653
$ git rev-list --count 878b670d52a1db52c095693e6aeb034a7f42807f
4652
So this build does not include both changes.
kugi
Posts: 6
Joined: Sun Dec 21, 2014 5:39 pm

Re: 3Dconnexion mouse

Post by kugi »

SpacemousePro Wireless in FreeCAD_0.15.4664_x64_dev_bin, Works! ;-)

Many thanks Guys!

Best,
Marcin
Beltza
Posts: 3
Joined: Wed Jan 28, 2015 9:16 am

Re: 3Dconnexion mouse

Post by Beltza »

Wireless working here too. Thank you very much.
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4655 (Git)
Branch: master
Hash: 5d159f5cf352a93b1aff4fb7b82e8b747ee4f35b
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: 3Dconnexion mouse

Post by freecad-heini-1 »

Hi all,
I'm running Xubuntu 16.04 64bit on AMD. I have installed Freecad 0.16 and 0.17. Spavenavd is installed, driver is started and running fine with Blender.
But no function in both Freecad versions.

OS: Ubuntu 16.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

OS: Ubuntu 16.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7744 (Git)
Build type: None
Branch: master
Hash: d05ac66c3ca95d0b2b6ff7502386c6a390624ddf
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

Any idea to solve this?
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: 3Dconnexion mouse

Post by tanderson69 »

spacenavd supports 2 different protocols. A unix socket and a x11 message. Blender uses the unix socket and freecad uses the x11 message. So one working and the other not is not that strange. Are you using sudo when launching spacenavd? spacenavd needs permissions when using x11. More information here. http://www.freecadweb.org/wiki/index.ph ... ut_devices
Post Reply